Fixed, thanks!

-Chris

On Feb 5, 2008, at 12:24 AM, Eli Friedman wrote:

> Testcase:
> static int a() {
>  static int b = 0;
>  return b;
> }
>
> static int b;
>
> int c() {
>  b = 10;
>  return a();
> }
>
> clang -emit-llvm puts both b's into the same global, which is wrong.
>
> -Eli
> _______________________________________________
> cfe-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to