https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
Kai Tietz ktietz at gcc dot gnu.org changed:
What|Removed |Added
CC||timothygu99 at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #7 from Kai Tietz ktietz at gcc dot gnu.org ---
Tested patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01502.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #6 from Kai Tietz ktietz at gcc dot gnu.org ---
(In reply to Jan Hubicka from comment #5)
Well, can someone overwrite dllimport symbol by different definition?
If not, it is a bug of decl_binds_to_current_def_p to return false here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
Kai Tietz ktietz at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #8 from Kai Tietz ktietz at gcc dot gnu.org ---
Author: ktietz
Date: Wed Feb 25 16:44:26 2015
New Revision: 220982
URL: https://gcc.gnu.org/viewcvs?rev=220982root=gccview=rev
Log:
PR target/64212
* symtab.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #9 from Kai Tietz ktietz at gcc dot gnu.org ---
Author: ktietz
Date: Wed Feb 25 16:46:34 2015
New Revision: 220983
URL: https://gcc.gnu.org/viewcvs?rev=220983root=gccview=rev
Log:
Merged from mainline
PR target/64212
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org ---
Well, can someone overwrite dllimport symbol by different definition?
If not, it is a bug of decl_binds_to_current_def_p to return false here.
If it can be inteprposed, I think the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #3 from Kai Tietz ktietz at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #2)
Reduced testcase:
inline void
foo (void)
{
}
__attribute__ ((__dllimport__))
void foo (void);
void
bar (void)
{
foo ();
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
--- Comment #4 from Kai Tietz ktietz at gcc dot gnu.org ---
A side-note: Of course the dllimport attribute is part of the prototype. So
for C case it would be consistent to have the dllimport-attribute also
specified for the inline, which gets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
10 matches
Mail list logo