Bug 26685 - [4.1/4.2 regression] documentation refer to nonexisting --param max-cse-insns
Summary: [4.1/4.2 regression] documentation refer to nonexisting --param max-cse-insns
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.1.0
: P2 minor
Target Milestone: 4.1.1
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks: 23490
  Show dependency treegraph
 
Reported: 2006-03-14 20:21 UTC by Mikko Tiihonen
Modified: 2006-04-27 14:26 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-03-14 20:26:28


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Tiihonen 2006-03-14 20:21:49 UTC
gcc man page says:

max-cse-insns: The maximum instructions CSE process before flushing. The default is 1000.

but gcc --param max-cse-insns=1000 gives the following error:
cc1: error: invalid parameter 'max-cse-insns'

With some googling I found the following patch which seems to have a bug where it uses the parameter max-flow-memory-locations erronously also in place for max-cse-insns
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00249.html
Comment 1 Andrew Pinski 2006-03-14 20:26:28 UTC
Confirmed, this is a regression as the documentation is wrong but was correct before 4.1.0.
Comment 2 patchapp@dberlin.org 2006-04-27 12:55:15 UTC
Subject: Bug number PR26685

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01035.html
Comment 3 Richard Biener 2006-04-27 14:24:20 UTC
Subject: Bug 26685

Author: rguenth
Date: Thu Apr 27 14:24:15 2006
New Revision: 113299

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113299
Log:
2006-04-27  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/26685
	* params.def (PARAM_MAX_CSE_INSNS): Correct typo that named
	this one "max-flow-memory-locations".

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/params.def

Comment 4 Richard Biener 2006-04-27 14:25:57 UTC
Subject: Bug 26685

Author: rguenth
Date: Thu Apr 27 14:25:49 2006
New Revision: 113300

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113300
Log:
2006-04-27  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/26685
	* params.def (PARAM_MAX_CSE_INSNS): Correct typo that named
	this one "max-flow-memory-locations".

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/params.def

Comment 5 Richard Biener 2006-04-27 14:26:18 UTC
Fixed.