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

            Bug ID: 115398
           Summary: [15 regression] RTL flag check:
                    CONSTANT_POOL_ADDRESS_P used with unexpected rtx code
                    'plus' in get_pool_constant, at varasm.cc:4046
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Created attachment 58384
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58384&action=edit
compressed unreduced testcase

The attached unreduced testfile (from llvm-18.1.7) ICEs:

# g++ -m32 -O3 -mavx512f -c dep.ii 
during RTL pass: split1
llvm/lib/Analysis/DependenceAnalysis.cpp: In constructor
'llvm::FullDependence::FullDependence(llvm::Instruction*, llvm::Instruction*,
bool, unsigned int)':
llvm/lib/Analysis/DependenceAnalysis.cpp:273:1: internal compiler error: RTL
flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in
get_pool_constant, at varasm.cc:4046
  273 | }
      | ^

"-O3 -mavx512f" are necessary to trigger it.

gcc version 15.0.0 20240608 (experimental)
e91cf26a954a5c1bf431e36f3a1e69f94e9fa4fe 

Thanks!
      Manuel

Reply via email to