[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #9 from chaoyingfu at gcc dot gnu dot org  2006-12-01 02:00 
---
Subject: Bug 28974

Author: chaoyingfu
Date: Fri Dec  1 01:57:22 2006
New Revision: 119394

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119394
Log:
Merged revisions 118791-118987 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118791 | gccadmin | 2006-11-13 16:17:39 -0800 (Mon, 13 Nov 2006) | 1 line

  Daily bump.

  r118793 | jiez | 2006-11-13 16:39:08 -0800 (Mon, 13 Nov 2006) | 4 lines

* configure.in: Remove target-libgloss from noconfigdirs for
bfin-*-*.
* configure: Regenerated.

  r118794 | jiez | 2006-11-13 16:45:33 -0800 (Mon, 13 Nov 2006) | 4 lines

* configure.in: Remove target-libgloss from noconfigdirs for
bfin-*-*.
* configure: Regenerated.

  r118798 | dj | 2006-11-13 18:29:46 -0800 (Mon, 13 Nov 2006) | 3 lines

  * config/m32c/m32c.c (m32c_prepare_shift): Use a separate
  temporary for intermediates.

  r118802 | ghazi | 2006-11-13 21:08:46 -0800 (Mon, 13 Nov 2006) | 7 lines

* fold-const.c (fold_strip_sign_ops): Handle COMPOUND_EXPR and
COND_EXPR.

  testsuite:
* gcc.dg/builtins-20.c: Add more cases.

  r118808 | bonzini | 2006-11-14 00:46:26 -0800 (Tue, 14 Nov 2006) | 16 lines

  2006-11-14  Paolo Bonzini  [EMAIL PROTECTED]

PR rtl-optimization/29798

* fwprop.c (use_killed_between): Check that DEF_INSN dominates
TARGET_INSN before any other check.
(fwprop_init): Always calculate dominators.
(fwprop_done): Always free them.

  2006-11-14  Paolo Bonzini  [EMAIL PROTECTED]

PR rtl-optimization/29798

* gcc.c-torture/execute/pr29798.c: New.

  r118810 | bonzini | 2006-11-14 04:14:33 -0800 (Tue, 14 Nov 2006) | 7 lines

  2006-11-14  Paolo Bonzini  [EMAIL PROTECTED]

* Makefile.tpl (clean-stage*): Test separately for package/Makefile
and stageN-package/Makefile.
* Makefile.in: Regenerated.

  r118812 | burnus | 2006-11-14 07:35:36 -0800 (Tue, 14 Nov 2006) | 13 lines

  fortran/
  2006-11-14  Tobias Burnus  [EMAIL PROTECTED]

PR fortran/29657
* symbol.c (check_conflict): Add further conflicts.

  testsuite/
  2006-11-14  Tobias Burnus  [EMAIL PROTECTED]

PR fortran/29657
* gfortran.dg/conflicts.f90: Add.

  r118813 | erven | 2006-11-14 07:45:55 -0800 (Tue, 14 Nov 2006) | 1 line

   MAINTAINERS (Write After Approval): Add myself.

  r118814 | jsm28 | 2006-11-14 08:01:41 -0800 (Tue, 14 Nov 2006) | 3 lines

* testsuite/26_numerics/complex/13450.cc: Do not test long double
in IBM long double case.

  r118819 | mmitchel | 2006-11-14 09:15:08 -0800 (Tue, 14 Nov 2006) | 3 lines

PR c++/29106
* g++.dg/init/self1.C: New test.

  r118820 | burnus | 2006-11-14 09:31:00 -0800 (Tue, 14 Nov 2006) | 6 lines

  2006-11-14  Tobias Burnus  [EMAIL PROTECTED]

 * match.c (gfc_match_namelist): Add missing space to
   error message.

  r118821 | dberlin | 2006-11-14 10:12:20 -0800 (Tue, 14 Nov 2006) | 24 lines

  2006-11-14  Daniel Berlin  [EMAIL PROTECTED]

Fix PR tree-optimization/27755

* tree-ssa-pre.c: Update comments.
(bb_bitmap_sets): Add pa_in and  deferred member.
(BB_DEFERRED): New macro.
(maximal_set): New variable.
(pre_stats): Add pa_insert member.
(bitmap_set_and): Short circuit orig == dest.
(bitmap_set_subtract_values): New function.
(bitmap_set_contains_expr): Ditto.
(translate_vuses_through_block): Add phiblock argument.
(dependent_clean): New function.
(compute_antic_aux): Update for maximal_set changes.
(compute_partial_antic_aux): New function.
(compute_antic): Handle partial anticipation.
(do_partial_partial_insertion): New function.
(insert_aux): Handle partial anticipation.
(add_to_sets): Add to maximal set.
(compute_avail): Ditto.
(init_pre): Initialize maximal_set.
(execute_pre): Do partial anticipation if -O3+.

  r118823 | echristo | 2006-11-14 11:42:51 -0800 (Tue, 14 Nov 2006) | 4 lines

  2006-11-14  Eric Christopher  [EMAIL PROTECTED]

  * configure: Regenerate with autoconf 2.59.

  r118825 | jsm28 | 2006-11-14 12:36:28 -0800 (Tue, 14 Nov 2006) | 5 lines

* config/arm/arm.h (FUNCTION_ARG_ADVANCE): Only adjust
iwmmxt_nregs if TARGET_IWMMXT_ABI.
* config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal,
movv2si_internal): Support moves between core registers.

  r118826 | ctice | 2006-11-14 12:55:56 -0800 (Tue, 14 Nov 2006) | 4 lines

  Add ability to generate DWARF pubtypes section if DEBUG_PUBTYPES_SECTION
  is defined.  Also add dejagnu testcases for pubtypes.

  r118827 | rguenth | 2006-11-14 14:01:08 -0800 (Tue, 

[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-11-24 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-11-25 02:38 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.3.0


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-11-24 Thread howarth at nitro dot med dot uc dot edu


--- Comment #8 from howarth at nitro dot med dot uc dot edu  2006-11-25 
04:12 ---
Are there any plans to backport this fix to the gcc 4.2 branch since it does
fix a pretty nasty performace hit?


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-11-14 Thread bdavis at gcc dot gnu dot org


--- Comment #6 from bdavis at gcc dot gnu dot org  2006-11-15 05:10 ---
Subject: Bug 28974

Author: bdavis
Date: Wed Nov 15 05:10:22 2006
New Revision: 118844

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118844
Log:
2006-11-15  Bud Davis [EMAIL PROTECTED]

PR fortran/28974
* gfortran.h (gfc_expr): Add element which holds a splay-tree
for the exclusive purpose of quick access to a constructor by
offset.
* data.c (find_con_by_offset): Use the splay tree for the search.
(gfc_assign_data_value): Use the splay tree.
(gfc_assign_data_value_range): ditto.
* expr.c (gfc_get_expr): Initialize new element to null.
(gfc_free_expr): Delete splay tree when deleting gfc_expr.



Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/data.c
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-11-05 Thread bdavis at gcc dot gnu dot org


--- Comment #5 from bdavis at gcc dot gnu dot org  2006-11-06 04:10 ---
patch here:

http://gcc.gnu.org/ml/fortran/2006-11/msg00148.html


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-17 Thread bdavis at gcc dot gnu dot org


--- Comment #4 from bdavis at gcc dot gnu dot org  2006-09-17 13:54 ---
before the patch:
$ time /usr/local/bin/gfortran -c data.f90

real3m1.263s
user3m0.519s
sys 0m0.120s

after:
$ time /usr/local/bin/gfortran -c data.f90

real0m3.215s
user0m3.052s
sys 0m0.092s


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-16 Thread bdavis at gcc dot gnu dot org


--- Comment #3 from bdavis at gcc dot gnu dot org  2006-09-16 15:00 ---
more mailing list traffic on this topic:

http://gcc.gnu.org/ml/fortran/2006-09/msg00210.html


--bud


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-14 Thread bdavis at gcc dot gnu dot org


-- 

bdavis at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |bdavis at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-09-07 17:36:45 |2006-09-15 02:59:54
   date||


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-14 Thread bdavis at gcc dot gnu dot org


--- Comment #2 from bdavis at gcc dot gnu dot org  2006-09-15 03:01 ---
This problem is very intriguing.  For a first attempt I plan on adding a splay
tree to constructors that need 'by element' access.  This may allow this
problem to be taken care of without changing every routine that uses
gfc_constructor.

bd


-- 


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



[Bug fortran/28974] Extremely slow compilation of enumerated DATA statements.

2006-09-07 Thread steven at gcc dot gnu dot org


--- Comment #1 from steven at gcc dot gnu dot org  2006-09-07 17:36 ---
Quadratic (or worse?) behavior


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||compile-time-hog
   Last reconfirmed|-00-00 00:00:00 |2006-09-07 17:36:45
   date||


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