public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/102828] New: [12 Regression] ODR violation in gimple-predicate-analysis.h since g:94c12ffac234
@ 2021-10-19  7:24 marxin at gcc dot gnu.org
  2021-10-19  7:24 ` [Bug bootstrap/102828] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-10-19  7:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102828
           Summary: [12 Regression] ODR violation in
                    gimple-predicate-analysis.h since g:94c12ffac234
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

I noticed that during bootstrap and I think we should not introduce new ODR
violations, it may break LTO bootstrap.

[ 1689s] ../../gcc/ipa-predicate.h:114:7: warning: type 'struct predicate'
violates the C++ One Definition Rule [-Wodr]
[ 1689s]   114 | class predicate
[ 1689s]       |       ^
[ 1689s] ../../gcc/gimple-predicate-analysis.h:48: note: a different type is
defined in another translation unit
[ 1689s]    48 | class predicate

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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19  7:24 [Bug bootstrap/102828] New: [12 Regression] ODR violation in gimple-predicate-analysis.h since g:94c12ffac234 marxin at gcc dot gnu.org
2021-10-19  7:24 ` [Bug bootstrap/102828] " marxin at gcc dot gnu.org
2021-10-19  7:44 ` rguenth at gcc dot gnu.org
2021-10-19 17:30 ` msebor at gcc dot gnu.org
2021-10-24  7:11 ` pinskia at gcc dot gnu.org
2021-11-03  9:37 ` marxin at gcc dot gnu.org
2021-11-03 13:02 ` cvs-commit at gcc dot gnu.org
2021-11-03 13:04 ` marxin 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).