http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59000

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-11-05
                 CC|                            |hubicka at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.7.4, 4.8.2, 4.9.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
This works on trunk, but of course symtab merging is pre-empted here by
tree merging I think.  The error can be reproduced on trunk with

t1.i
----
  __attribute__((weak)) float
   scalbnf(float z) { return z; }

t2.i
----
  __attribute__((weak)) float
   scalbnf(float x, int y) { return x*y; }

which would be kind of invalid, of course.  Or with

t1.i
----
  __attribute__((weak,used)) float
   scalbnf(float x, int y) { return x*y; }

t2.i
----
  __attribute__((weak)) float
   scalbnf(float x, int y) { return x*y; }

or with any other unrelated and harmless extra attribute on one decl.  This
never worked btw.

Reply via email to