Launchpad has imported 5 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53516.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-05-29T13:11:50+00:00 Rguenth wrote:

The following is miscompiled at -O3.

extern void abort (void);

struct Foo
{
  char a : 1;
  char b : 7;
};

struct Foo x[256];
int y[256];

void __attribute__((noinline,noclone)) bar (int n)
{
  int i;
  for (i = 0; i < n; ++i)
    {
      x[i].a = 0;
      y[i] = 3;
    }
}

int main()
{
  x[5].b = 7;
  bar (256);
  if (x[5].b != 7)
    abort ();
  return 0;
}

Reply at: https://bugs.launchpad.net/gcc/+bug/1003733/comments/4

------------------------------------------------------------------------
On 2012-05-29T13:13:42+00:00 Rguenth wrote:

4.5 works.

Reply at: https://bugs.launchpad.net/gcc/+bug/1003733/comments/5

------------------------------------------------------------------------
On 2012-05-29T14:40:23+00:00 Rguenth wrote:

Author: rguenth
Date: Tue May 29 14:40:16 2012
New Revision: 187961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187961
Log:
2012-05-29  Richard Guenther  <rguent...@suse.de>

        PR tree-optimization/53516
        * tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject
        bitfield accesses.
        * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise.

        * gcc.dg/torture/pr53516.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr53516.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-vect-data-refs.c

Reply at: https://bugs.launchpad.net/gcc/+bug/1003733/comments/6

------------------------------------------------------------------------
On 2012-05-29T14:44:13+00:00 Rguenth wrote:

Author: rguenth
Date: Tue May 29 14:44:08 2012
New Revision: 187964

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187964
Log:
2012-05-29  Richard Guenther  <rguent...@suse.de>

        PR tree-optimization/53516
        * tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject
        bitfield accesses.
        * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise.

        * gcc.dg/torture/pr53516.c: New testcase.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr53516.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-data-ref.c
    branches/gcc-4_7-branch/gcc/tree-vect-data-refs.c

Reply at: https://bugs.launchpad.net/gcc/+bug/1003733/comments/7

------------------------------------------------------------------------
On 2012-05-29T14:44:50+00:00 Rguenth wrote:

Fixed on the trunk and the 4.7 branch for now.

Reply at: https://bugs.launchpad.net/gcc/+bug/1003733/comments/8


** Changed in: gcc
       Status: Unknown => In Progress

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003733

Title:
  Angry birds does not work (test failures in js/src/jit-
  test/tests/jaeger/testSetTypedFloatArray.js with gcc4.7)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1003733/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to