This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2 2/4] libcc1: set debug compile: Display GCC driver filename
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Phil Muldoon <pmuldoon at redhat dot com>
- Date: Thu, 23 Apr 2015 22:42:31 +0200
- Subject: Re: [PATCH v2 2/4] libcc1: set debug compile: Display GCC driver filename
- Authentication-results: sourceware.org; auth=none
- References: <20150423203827 dot 23973 dot 72954 dot stgit at host1 dot jankratochvil dot net> <20150423203834 dot 23973 dot 8401 dot stgit at host1 dot jankratochvil dot net>
On Thu, 23 Apr 2015 22:38:34 +0200, Jan Kratochvil wrote:
> Unfortunately this changes libcc1 API in an incompatible way. There is
> a possibility of a hack to keep the API the same - one could pass "-v" option
> explicitly to set_arguments(), set_arguments() could compare the "-v" string
> and print the GCC filename accordingly. Then the 'verbose' parameter of
> compile() would lose its meaning. What do you think?
This paragraph is no longer true, 'compile' keeps its parameter duplicate to
the new 'set_arguments's one.
Jan