public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/115017] New: [15 Regression] Ranger ICE
@ 2024-05-09 20:04 law at gcc dot gnu.org
  2024-05-09 20:07 ` [Bug tree-optimization/115017] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: law at gcc dot gnu.org @ 2024-05-09 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115017
           Summary: [15 Regression] Ranger ICE
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: law at gcc dot gnu.org
  Target Milestone: ---

Created attachment 58153
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58153&action=edit
Testcase, compile with -O2 on avr-elf

Recent work in Ranger seems to be causing an ICE on the avr-elf port.

Using a cross compiler for avr-elf compile the attached testcase with -O2 to
trigger this abort:

../../../../..//avr-libc-2.1.0/libc/time/strftime.c: In function
‘pgm_copystring’:
../../../../..//avr-libc-2.1.0/libc/time/strftime.c:322:1: internal compiler
error: in alloc, at value-range-storage.cc:598
0x77a5d2 prange_storage::alloc(vrange_internal_alloc&, prange const&)
        /home/jlaw/test/gcc/gcc/value-range-storage.cc:598
0x180dde6 ssa_cache::set_range(tree_node*, vrange const&)
        /home/jlaw/test/gcc/gcc/gimple-range-cache.cc:610
0x1814574 ranger_cache::get_global_range(vrange&, tree_node*, bool&)
        /home/jlaw/test/gcc/gcc/gimple-range-cache.cc:1058
0x18081f3 gimple_ranger::range_of_stmt(vrange&, gimple*, tree_node*)
        /home/jlaw/test/gcc/gcc/gimple-range.cc:323
0x18068de gimple_ranger::range_on_entry(vrange&, basic_block_def*, tree_node*)
        /home/jlaw/test/gcc/gcc/gimple-range.cc:171
0x1806ce2 gimple_ranger::range_on_exit(vrange&, basic_block_def*, tree_node*)
        /home/jlaw/test/gcc/gcc/gimple-range.cc:208
0x180bcfa gimple_ranger::range_on_edge(vrange&, edge_def*, tree_node*)
        /home/jlaw/test/gcc/gcc/gimple-range.cc:253
0x1207eab range_query::value_on_edge(edge_def*, tree_node*)
        /home/jlaw/test/gcc/gcc/value-query.cc:105
0x11d326f rvrp_folder::value_on_edge(edge_def*, tree_node*)
        /home/jlaw/test/gcc/gcc/tree-vrp.cc:990
0x10b97bb substitute_and_fold_engine::propagate_into_phi_args(basic_block_def*)
        /home/jlaw/test/gcc/gcc/tree-ssa-propagate.cc:746
0x10b9f43 substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
        /home/jlaw/test/gcc/gcc/tree-ssa-propagate.cc:954
0x17af12e dom_walker::walk(basic_block_def*)
        /home/jlaw/test/gcc/gcc/domwalk.cc:311
0x10b90b5 substitute_and_fold_engine::substitute_and_fold(basic_block_def*)
        /home/jlaw/test/gcc/gcc/tree-ssa-propagate.cc:999
0x11d077a execute_ranger_vrp(function*, bool, bool)
        /home/jlaw/test/gcc/gcc/tree-vrp.cc:1066

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

* [Bug tree-optimization/115017] [15 Regression] Ranger ICE
  2024-05-09 20:04 [Bug tree-optimization/115017] New: [15 Regression] Ranger ICE law at gcc dot gnu.org
@ 2024-05-09 20:07 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-09 20:07 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Exact dup of bug 115009. The issue is ranger is not ready for pointers of
different size even though there are targets inside GCC that have it.

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

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

end of thread, other threads:[~2024-05-09 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 20:04 [Bug tree-optimization/115017] New: [15 Regression] Ranger ICE law at gcc dot gnu.org
2024-05-09 20:07 ` [Bug tree-optimization/115017] " 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).