public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/115398] New: [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046
@ 2024-06-08 17:14 manuel.lauss at googlemail dot com
  2024-06-08 17:18 ` [Bug c++/115398] " sjames at gcc dot gnu.org
  2024-06-08 17:19 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: manuel.lauss at googlemail dot com @ 2024-06-08 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

* [Bug c++/115398] [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046
  2024-06-08 17:14 [Bug c++/115398] New: [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046 manuel.lauss at googlemail dot com
@ 2024-06-08 17:18 ` sjames at gcc dot gnu.org
  2024-06-08 17:19 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-08 17:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Possibly a dupe of PR115397?

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

* [Bug c++/115398] [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046
  2024-06-08 17:14 [Bug c++/115398] New: [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046 manuel.lauss at googlemail dot com
  2024-06-08 17:18 ` [Bug c++/115398] " sjames at gcc dot gnu.org
@ 2024-06-08 17:19 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-08 17:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #1)
> Possibly a dupe of PR115397?

yep

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

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

end of thread, other threads:[~2024-06-08 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-08 17:14 [Bug c++/115398] New: [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046 manuel.lauss at googlemail dot com
2024-06-08 17:18 ` [Bug c++/115398] " sjames at gcc dot gnu.org
2024-06-08 17:19 ` 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).