public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/110554] New: more invalid wide Boolean values
@ 2023-07-04 23:00 kristerw at gcc dot gnu.org
  2023-07-05  0:02 ` [Bug tree-optimization/110554] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: kristerw at gcc dot gnu.org @ 2023-07-04 23:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110554
           Summary: more invalid wide Boolean values
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kristerw at gcc dot gnu.org
  Target Milestone: ---

The fix for PR 110487 improved the situation, but my tool still finds some
cases where GCC generates invalid <signed-boolean:32> values.

One such case can be seen in gcc.c-torture/compile/pr104499.c:

  typedef int __attribute__((__vector_size__ (8 * sizeof (int)))) V;

  V v;

  void
  foo (void)
  {
    v = ((1 | v) != 1);
  }

Here veclower2 is introducing code

  <signed-boolean:32> _8;
  <signed-boolean:32> _10;
  ...
  gimple_assign <gt_expr, _8, _7, 1, NULL>
  gimple_assign <bit_and_expr, _10, _8, 1, NULL>


More examples of this failure can be seen in gcc.c-torture/compile/pr108237.c
and gcc.c-torture/compile/pr54713-1.c

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

end of thread, other threads:[~2023-07-06  6:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 23:00 [Bug tree-optimization/110554] New: more invalid wide Boolean values kristerw at gcc dot gnu.org
2023-07-05  0:02 ` [Bug tree-optimization/110554] " pinskia at gcc dot gnu.org
2023-07-05  0:29 ` [Bug tree-optimization/110554] veclowering introduces " pinskia at gcc dot gnu.org
2023-07-05  2:10 ` pinskia at gcc dot gnu.org
2023-07-05  2:53 ` pinskia at gcc dot gnu.org
2023-07-05  3:05 ` pinskia at gcc dot gnu.org
2023-07-05  3:37 ` pinskia at gcc dot gnu.org
2023-07-05  7:13 ` rguenth at gcc dot gnu.org
2023-07-06  6:20 ` cvs-commit at gcc dot gnu.org
2023-07-06  6:20 ` pinskia at gcc dot gnu.org

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).