public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98270] New: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108
@ 2020-12-14  9:43 marxin at gcc dot gnu.org
  2020-12-14  9:43 ` [Bug tree-optimization/98270] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-14  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98270
           Summary: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16:
                    runtime error: load of value 112, which is not a valid
                    value for type 'bool' since
                    r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

Since the revision I see for UBSAN enabled compiler:

$ ./gcc/xgcc -B gcc
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-ubsan/build/gcc/testsuite/gcc.dg/torture/pr98235.c
-O3 -c -fallow-store-data-races
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:2396:16: runtime error: load
of value 112, which is not a valid value for type 'bool'
    #0 0x2e53ba8 in vect_build_slp_instance
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:2396
    #1 0x2e55120 in vect_analyze_slp_instance
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:2565
    #2 0x2e553ce in vect_analyze_slp(vec_info*, unsigned int)
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:2596
    #3 0x2e649ce in vect_slp_analyze_bb_1
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4409
    #4 0x2e6572a in vect_slp_region
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4521
    #5 0x2e67593 in vect_slp_bbs
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4669
    #6 0x2e67f29 in vect_slp_function(function*)
/home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4755
    #7 0x2ea0219 in execute
/home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1436
    #8 0x1fe199b in execute_one_pass(opt_pass*)
/home/marxin/Programming/gcc/gcc/passes.c:2567
    #9 0x1fe2323 in execute_pass_list_1
/home/marxin/Programming/gcc/gcc/passes.c:2656
    #10 0x1fe23d8 in execute_pass_list_1
/home/marxin/Programming/gcc/gcc/passes.c:2657
    #11 0x1fe23d8 in execute_pass_list_1
/home/marxin/Programming/gcc/gcc/passes.c:2657
    #12 0x1fe2476 in execute_pass_list(function*, opt_pass*)
/home/marxin/Programming/gcc/gcc/passes.c:2667
    #13 0x10bc8c5 in cgraph_node::expand()
/home/marxin/Programming/gcc/gcc/cgraphunit.c:1829
    #14 0x10be21d in expand_all_functions
/home/marxin/Programming/gcc/gcc/cgraphunit.c:1997
    #15 0x10c0342 in symbol_table::compile()
/home/marxin/Programming/gcc/gcc/cgraphunit.c:2361
    #16 0x10c0cce in symbol_table::finalize_compilation_unit()
/home/marxin/Programming/gcc/gcc/cgraphunit.c:2542
    #17 0x24682ca in compile_file /home/marxin/Programming/gcc/gcc/toplev.c:482
    #18 0x2470b0d in do_compile /home/marxin/Programming/gcc/gcc/toplev.c:2193
    #19 0x2471110 in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.c:2332
    #20 0x508734c in main /home/marxin/Programming/gcc/gcc/main.c:39
    #21 0x7ffff6d2a151 in __libc_start_main (/lib64/libc.so.6+0x28151)
    #22 0x9e49fd in _start
(/home/marxin/Programming/gcc/objdir/gcc/cc1+0x9e49fd)

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

* [Bug tree-optimization/98270] [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108
  2020-12-14  9:43 [Bug tree-optimization/98270] New: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108 marxin at gcc dot gnu.org
@ 2020-12-14  9:43 ` marxin at gcc dot gnu.org
  2021-01-04  7:55 ` rguenth at gcc dot gnu.org
  2021-01-04 11:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-14  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
     Ever confirmed|0                           |1
             Blocks|                            |63426
      Known to work|                            |10.2.0
   Last reconfirmed|                            |2020-12-14
      Known to fail|                            |11.0
             Status|UNCONFIRMED                 |NEW


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
[Bug 63426] [meta-bug] Issues found with -fsanitize=undefined

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

* [Bug tree-optimization/98270] [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108
  2020-12-14  9:43 [Bug tree-optimization/98270] New: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108 marxin at gcc dot gnu.org
  2020-12-14  9:43 ` [Bug tree-optimization/98270] " marxin at gcc dot gnu.org
@ 2021-01-04  7:55 ` rguenth at gcc dot gnu.org
  2021-01-04 11:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-04  7:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Priority|P3                          |P1
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.

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

* [Bug tree-optimization/98270] [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108
  2020-12-14  9:43 [Bug tree-optimization/98270] New: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108 marxin at gcc dot gnu.org
  2020-12-14  9:43 ` [Bug tree-optimization/98270] " marxin at gcc dot gnu.org
  2021-01-04  7:55 ` rguenth at gcc dot gnu.org
@ 2021-01-04 11:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-04 11:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
dup

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

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

end of thread, other threads:[~2021-01-04 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14  9:43 [Bug tree-optimization/98270] New: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d43d8a485a5c9e108 marxin at gcc dot gnu.org
2020-12-14  9:43 ` [Bug tree-optimization/98270] " marxin at gcc dot gnu.org
2021-01-04  7:55 ` rguenth at gcc dot gnu.org
2021-01-04 11:14 ` rguenth 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).