public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/38316] New: The "--help=xxx" option does not play well with -pipe or -save-temps
@ 2008-11-29 9:54 justinb at math dot berkeley dot edu
2008-12-01 0:15 ` [Bug driver/38316] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: justinb at math dot berkeley dot edu @ 2008-11-29 9:54 UTC (permalink / raw)
To: gcc-bugs
I ran into this issue running "gcc ${CFLAGS} -Q --help=optimizers", when
${CFLAGS} happened to contain -pipe.
When -pipe is turned on, the --help=xxx switch will cause the compiler to print
help to stdout, before its usual steps of dumping "help-dummy" assembly code
and letting the driver pipe its output to the assembler. For example:
$ gcc -pipe --help=target
{standard input}: Assembler messages:
{standard input}:1: Error: no such instruction: `the following options are
target specific:'
[snip]
{standard input}:88: Error: junk at end of line, first unrecognized character
is `-'
A related, but far more minor, problem occurs when -save-temps is passed with
--help=xxx. The help message is printed correctly, but afterwards the assembler
complains:
Assembler messages:
Error: can't open help-dummy.s for reading: No such file or directory
Thanks for your attention.
--
Summary: The "--help=xxx" option does not play well with -pipe or
-save-temps
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: justinb at math dot berkeley dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38316
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug driver/38316] The "--help=xxx" option does not play well with -pipe or -save-temps
2008-11-29 9:54 [Bug driver/38316] New: The "--help=xxx" option does not play well with -pipe or -save-temps justinb at math dot berkeley dot edu
@ 2008-12-01 0:15 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-01 0:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-01 00:14 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-12-01 00:14:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38316
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-01 0:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-29 9:54 [Bug driver/38316] New: The "--help=xxx" option does not play well with -pipe or -save-temps justinb at math dot berkeley dot edu
2008-12-01 0:15 ` [Bug driver/38316] " 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).