[Bug middle-end/44871] Invalid type mismatches while merging C and C++ sources

2010-07-08 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-08 13:31 --- Created an attachment (id=21143) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21143action=view) first part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871

[Bug middle-end/44871] Invalid type mismatches while merging C and C++ sources

2010-07-08 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-07-08 13:37 --- Created an attachment (id=21144) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21144action=view) second part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871

[Bug middle-end/44871] Invalid type mismatches while merging C and C++ sources

2010-07-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-08 14:19 --- Created an attachment (id=21145) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21145action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871

[Bug middle-end/44871] Invalid type mismatches while merging C and C++ sources

2010-07-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-08 14:19 --- Created an attachment (id=21146) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21146action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871

[Bug middle-end/44871] Invalid type mismatches while merging C and C++ sources

2010-07-08 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-08 14:47 --- The C frontend for typedef struct { hb_atomic_int_t ref_count; } hb_reference_count_t; has an unnamed (NULL TYPE_NAME) main variant of hb_reference_count_t while the C++ frontend does not have a main variant