https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #7 from Tobias Burnus ---
(In reply to Tobias Burnus from comment #5)
> Created attachment 33478 [details]
> Second test file pair (1/2): one37.ii
Mixed up the fields ... That should have been the attachment - and the
attachment shou
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #6 from Tobias Burnus ---
Created attachment 33479
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33479&action=edit
Second test file pair (1/2): two22.ii
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #5 from Tobias Burnus ---
Created attachment 33478
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33478&action=edit
Second test file pair (1/2): one37.ii
namespace std {
template struct unary_function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #4 from Jan Hubicka ---
Hi,
this is patch I am testing. It fixes few issues in the ODR comparsions code
and seems to handle this testcase sanely.
Honza
Index: ipa-devirt.c
===
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #3 from Jan Hubicka ---
Turning the assert to warning (I probably ought to do that and also compare
alignments) gets me the following:
one.ii:7:16: warning: type �struct ynodetype_t� violates one definition rule
[-Wodr]
typedef stru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
Jan Hubicka changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63226
--- Comment #1 from Tobias Burnus ---
When simplifying the code names, I made a mistake. It should be "class TWO" and
not "class ONE" in file two.ii.
Hence, only the typedef'ed ynodetype and, hence, ynodetype are different. The
classes are diffe