This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47822] [4.6 Regression] Multiple test suite failures due to revision 170321


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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-20 15:05:00 UTC ---
Huh.  WTF is this builtin used for at all??

int main()
{
  return __builtin___CFStringMakeConstantString ("Hello");
}

and at gimple stage we already have

main ()
{
  int D.2718;
  long int D.2719;

  D.2719 = (long int) &C.1605;
  D.2718 = (int) D.2719;
  return D.2718;
}

!?  It appearantly relies on folding, huh, another brokeness - there is
no way it would survive through expansion (well, it'll get a libcall ...).
I wonder where it is actually _used_ from!?  Not from any header I have
installed on x86_64-darwin, not from any GCC code either.

Feels like a darwin hack again ... don't feel like wasting my Sunday on this
one either.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]