public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts @ 2004-03-25 3:29 pinskia at gcc dot gnu dot org 2004-03-25 3:29 ` [Bug optimization/14729] " pinskia at gcc dot gnu dot org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-03-25 3:29 UTC (permalink / raw) To: gcc-bugs Derived from <http://gcc.gnu.org/ml/gcc/2004-03/msg01314.html>. struct OOf { float value; OOf() {value = 0.0;} }; inline OOf operator+(OOf op1, OOf op2) { OOf f; f.value = op1.value + op2.value; return f; } inline OOf operator*(OOf op1, OOf op2) { OOf f; f.value = op1.value * op2.value; return f; } inline OOf operator-(OOf op1, OOf op2) { OOf f; f.value = op1.value - op2.value; return f; } OOf test_func( OOf a, OOf b, OOf c ) { OOf d, e; OOf result; d = a * b + b * c; e = a * c - b * d; result = d * e; return result; } I also have a patch to fix this one too. -- Summary: [tree-ssa] missed semi high abstraction penalty due to casts Product: gcc Version: tree-ssa Status: UNCONFIRMED Keywords: pessimizes-code Severity: enhancement Priority: P2 Component: optimization AssignedTo: pinskia at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org @ 2004-03-25 3:29 ` pinskia at gcc dot gnu dot org 2004-04-03 5:04 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-03-25 3:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-25 03:29 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-03-25 03:29:33 date| | Target Milestone|--- |tree-ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org 2004-03-25 3:29 ` [Bug optimization/14729] " pinskia at gcc dot gnu dot org @ 2004-04-03 5:04 ` pinskia at gcc dot gnu dot org 2004-05-17 13:29 ` [Bug tree-optimization/14729] " pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-04-03 5:04 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-03 05:04 ------- Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00169.html>. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org 2004-03-25 3:29 ` [Bug optimization/14729] " pinskia at gcc dot gnu dot org 2004-04-03 5:04 ` pinskia at gcc dot gnu dot org @ 2004-05-17 13:29 ` pinskia at gcc dot gnu dot org 2004-05-24 17:49 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-05-17 13:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-16 23:24 ------- Newer simpler patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00991.html>. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org ` (2 preceding siblings ...) 2004-05-17 13:29 ` [Bug tree-optimization/14729] " pinskia at gcc dot gnu dot org @ 2004-05-24 17:49 ` pinskia at gcc dot gnu dot org 2004-06-02 4:41 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-05-24 17:49 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.5.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org ` (3 preceding siblings ...) 2004-05-24 17:49 ` pinskia at gcc dot gnu dot org @ 2004-06-02 4:41 ` pinskia at gcc dot gnu dot org 2004-06-02 18:57 ` cvs-commit at gcc dot gnu dot org 2004-06-02 18:58 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-02 4:41 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-02 04:41 ------- Much newer and simpler patch: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00087.html>. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org ` (4 preceding siblings ...) 2004-06-02 4:41 ` pinskia at gcc dot gnu dot org @ 2004-06-02 18:57 ` cvs-commit at gcc dot gnu dot org 2004-06-02 18:58 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-06-02 18:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-02 18:56 ------- Subject: Bug 14729 CVSROOT: /cvs/gcc Module name: gcc Changes by: pinskia@gcc.gnu.org 2004-06-02 18:56:54 Modified files: gcc : ChangeLog tree-ssa.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/tree-ssa: ssa-cast-1.C ssa-sra-1.C ssa-sra-2.C Log message: 2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-optimization/14736 * g++.dg/tree-ssa/ssa-cast-1.C: New Test. PR tree-optimization/14042 * g++.dg/tree-ssa/ssa-sra-1.C: New Test. PR tree-optimization/14729 * g++.dg/tree-ssa/ssa-sra-2.C: New Test. 2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-optimization/14042 PR tree-optimization/14729 PR tree-optimization/14736 * tree-ssa.c: Check the type which the pointer points to instead of the pointer types. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3822&r2=2.3823 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&r1=2.3&r2=2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3804&r2=1.3805 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/ssa-cast-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/ssa-sra-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/ssa-sra-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/14729] [tree-ssa] missed semi high abstraction penalty due to casts 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org ` (5 preceding siblings ...) 2004-06-02 18:57 ` cvs-commit at gcc dot gnu dot org @ 2004-06-02 18:58 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-02 18:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-02 18:58 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14729 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-06-02 18:58 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-03-25 3:29 [Bug optimization/14729] New: [tree-ssa] missed semi high abstraction penalty due to casts pinskia at gcc dot gnu dot org 2004-03-25 3:29 ` [Bug optimization/14729] " pinskia at gcc dot gnu dot org 2004-04-03 5:04 ` pinskia at gcc dot gnu dot org 2004-05-17 13:29 ` [Bug tree-optimization/14729] " pinskia at gcc dot gnu dot org 2004-05-24 17:49 ` pinskia at gcc dot gnu dot org 2004-06-02 4:41 ` pinskia at gcc dot gnu dot org 2004-06-02 18:57 ` cvs-commit at gcc dot gnu dot org 2004-06-02 18:58 ` 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).