public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/43987] [4.5 Regression] type-punning causes broken binaries unless -O0 is used
Date: Wed, 19 May 2010 14:49:00 -0000	[thread overview]
Message-ID: <20100519144847.22725.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43987-19130@http.gcc.gnu.org/bugzilla/>



------- Comment #22 from rguenth at gcc dot gnu dot org  2010-05-19 14:48 -------
Subject: Bug 43987

Author: rguenth
Date: Wed May 19 14:48:24 2010
New Revision: 159567

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159567
Log:
2010-05-19  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43987
        * tree-ssa-structalias.c (could_have_pointers): For possibly
        address-taken variables force pointers to be recorded.
        (create_variable_info_for_1): Likewise.
        (push_fields_onto_fieldstack): Pass in wheter all fields
        must have pointers.
        (find_func_aliases): Query types instead of vars whether
        they contain pointers where appropriate.

        * gcc.c-torture/execute/pr43987.c: New testcase.
        * gcc.dg/torture/pta-escape-1.c: Adjust.
        * gcc.dg/tree-ssa/pta-escape-1.c: Likewise.
        * gcc.dg/tree-ssa/pta-escape-2.c: Likewise.
        * gcc.dg/tree-ssa/pta-escape-3.c: Likewise.
        * gcc.dg/torture/ipa-pta-1.c: Likewise.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr43987.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pta-escape-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-2.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-3.c
    branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c


-- 


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


  parent reply	other threads:[~2010-05-19 14:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 22:46 [Bug c/43987] New: [4.5 regression] " thomas at archlinux dot org
2010-05-04 22:48 ` [Bug middle-end/43987] " pinskia at gcc dot gnu dot org
2010-05-04 22:49 ` pinskia at gcc dot gnu dot org
2010-05-04 23:06 ` thomas at archlinux dot org
2010-05-04 23:08 ` pinskia at gcc dot gnu dot org
2010-05-04 23:50 ` thomas at archlinux dot org
2010-05-04 23:53 ` pinskia at gcc dot gnu dot org
2010-05-05  7:23 ` thomas at archlinux dot org
2010-05-05 10:16 ` rguenth at gcc dot gnu dot org
2010-05-05 10:53 ` thomas at archlinux dot org
2010-05-05 10:58 ` thomas at archlinux dot org
2010-05-05 11:57 ` thomas at archlinux dot org
2010-05-05 13:14 ` rguenth at gcc dot gnu dot org
2010-05-05 13:17 ` [Bug middle-end/43987] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-05-05 13:28 ` rguenth at gcc dot gnu dot org
2010-05-05 13:56 ` rguenth at gcc dot gnu dot org
2010-05-05 14:02 ` rguenth at gcc dot gnu dot org
2010-05-05 14:11 ` thomas at archlinux dot org
2010-05-05 14:13 ` rguenther at suse dot de
2010-05-06  8:53 ` rguenth at gcc dot gnu dot org
2010-05-06  8:54 ` [Bug middle-end/43987] [4.5 " rguenth at gcc dot gnu dot org
2010-05-10 16:49 ` bernhardloos at googlemail dot com
2010-05-19 12:54 ` rguenth at gcc dot gnu dot org
2010-05-19 14:49 ` rguenth at gcc dot gnu dot org [this message]
2010-05-19 15:08 ` rguenth at gcc dot gnu dot org
2010-05-21  8:16 ` thomas at archlinux dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100519144847.22725.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).