public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly @ 2004-11-05 10:47 nathan at gcc dot gnu dot org 2004-11-05 10:48 ` [Bug tree-optimization/18307] " nathan at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-11-05 10:47 UTC (permalink / raw) To: gcc-bugs The attached program (preprocessed gengtype) causes merge_pointed_to_info to be called with the same node as DEST and ORIG. This is an erroneous use of that function. I'm about to commit a check and early exit in that function, to prevent further breakage, but it really needs assertifying. -- Summary: merge_pointed_to_info called incorrectly Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nathan at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org @ 2004-11-05 10:48 ` nathan at gcc dot gnu dot org 2004-11-05 10:48 ` nathan at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-11-05 10:48 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From nathan at gcc dot gnu dot org 2004-11-05 10:48 ------- Created an attachment (id=7478) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7478&action=view) test case Compile at -O2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org 2004-11-05 10:48 ` [Bug tree-optimization/18307] " nathan at gcc dot gnu dot org @ 2004-11-05 10:48 ` nathan at gcc dot gnu dot org 2004-11-05 10:56 ` cvs-commit at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-11-05 10:48 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org 2004-11-05 10:48 ` [Bug tree-optimization/18307] " nathan at gcc dot gnu dot org 2004-11-05 10:48 ` nathan at gcc dot gnu dot org @ 2004-11-05 10:56 ` cvs-commit at gcc dot gnu dot org 2004-11-17 21:08 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-11-05 10:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-05 10:56 ------- Subject: Bug 18307 CVSROOT: /cvs/gcc Module name: gcc Changes by: nathan@gcc.gnu.org 2004-11-05 10:56:03 Modified files: gcc : ChangeLog tree-ssa-alias.c Log message: PR tree-optimization/18307 * tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST and ORIG being the same node. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6184&r2=2.6185 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcc&r1=2.51&r2=2.52 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org ` (2 preceding siblings ...) 2004-11-05 10:56 ` cvs-commit at gcc dot gnu dot org @ 2004-11-17 21:08 ` cvs-commit at gcc dot gnu dot org 2004-11-17 21:11 ` dnovillo at gcc dot gnu dot org 2004-12-01 0:50 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-11-17 21:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-17 21:07 ------- Subject: Bug 18307 CVSROOT: /cvs/gcc Module name: gcc Changes by: dnovillo@gcc.gnu.org 2004-11-17 21:07:08 Modified files: gcc : ChangeLog tree-ssa-alias.c Log message: PR tree-optimization/18307 * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and 'orig' are the same node. (collect_points_to_info_r): Do not call merge_pointed_to_info when the PHI argument is identical to the LHS. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6377&r2=2.6378 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcc&r1=2.53&r2=2.54 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org ` (3 preceding siblings ...) 2004-11-17 21:08 ` cvs-commit at gcc dot gnu dot org @ 2004-11-17 21:11 ` dnovillo at gcc dot gnu dot org 2004-12-01 0:50 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: dnovillo at gcc dot gnu dot org @ 2004-11-17 21:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dnovillo at gcc dot gnu dot org 2004-11-17 21:11 ------- Fix: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01414.html. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/18307] merge_pointed_to_info called incorrectly 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org ` (4 preceding siblings ...) 2004-11-17 21:11 ` dnovillo at gcc dot gnu dot org @ 2004-12-01 0:50 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-01 0:50 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18307 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-12-01 0:50 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-11-05 10:47 [Bug tree-optimization/18307] New: merge_pointed_to_info called incorrectly nathan at gcc dot gnu dot org 2004-11-05 10:48 ` [Bug tree-optimization/18307] " nathan at gcc dot gnu dot org 2004-11-05 10:48 ` nathan at gcc dot gnu dot org 2004-11-05 10:56 ` cvs-commit at gcc dot gnu dot org 2004-11-17 21:08 ` cvs-commit at gcc dot gnu dot org 2004-11-17 21:11 ` dnovillo at gcc dot gnu dot org 2004-12-01 0:50 ` pinskia at gcc dot gnu dot org
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).