home *** CD-ROM | disk | FTP | other *** search
- From: daryl@hpcuhe.cup.hp.com (Daryl Odnert)
- Date: Wed, 29 Jul 1992 15:57:10 GMT
- Subject: Re: What does this mean ?
- Message-ID: <31480211@hpcuhe.cup.hp.com>
- Organization: Hewlett Packard, Cupertino
- Path: sparky!uunet!darwin.sura.net!mips!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpcuhb!hpcuhe!daryl
- Newsgroups: comp.sys.hp
- References: <3806@sicsun.epfl.ch>
- Lines: 33
-
- lecom> cc -O -c error.c
- "error.c", line 111: compiler error: register allocation error
- *** Error code 1
- lecom> cc +O1 -c error.c
- lecom>
-
- The name error.c is a pure coincidence.
-
- --
-
- On HP 9000 Series 700 and Series 800 systems, the default level for
- code optimization with the -O option is level 2. The +O1 option
- selects level 1 optimization (which takes less compile time, but
- does not optimize the code as well as level 2.) I believe the same
- thing is true on the Series 300 and 400 systems.
-
- The register allocator used at level 2 is not the same as the one that
- is used at level 1. The error message you received probably indicates
- that your source code is exposing some kind of defect in the compiler.
- I would suggest contacting your local HP support folks to report the
- problem.
-
- Alternatively, you could e-mail to me the smallest piece of source
- code that reproduces the problem. It will help if you expand the
- source file first by using the cc -P option to generate error.i.
- Also, please indicate what kind of system (300, 400, 700, or 800) that
- you are using and the version number of the compiler that you are
- using.
-
- Regards,
- Daryl Odnert daryl@cup.hp.com
- Hewlett-Packard
- Cupertino, California
-