public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
@ 2012-10-02 22:24 d.g.gorbachev at gmail dot com
2012-10-04 9:47 ` [Bug driver/54789] " d.g.gorbachev at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-02 22:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
Bug #: 54789
Summary: [4.8 Regression] Error in GCC driver when defining
GCC_COMPARE_DEBUG
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
GCC 4.8.0 20120930 (experimental)
$ gcc -fcompare-debug=-gtoggle a.c
$ GCC_COMPARE_DEBUG=yes gcc a.c
gcc: error: unrecognized command line option '-fcompare-debug=-gtoggle'
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
@ 2012-10-04 9:47 ` d.g.gorbachev at gmail dot com
2012-10-04 9:50 ` d.g.gorbachev at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-04 9:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-10-04 09:46:45 UTC ---
Created attachment 28355
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28355
Patch
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
2012-10-04 9:47 ` [Bug driver/54789] " d.g.gorbachev at gmail dot com
@ 2012-10-04 9:50 ` d.g.gorbachev at gmail dot com
2012-10-04 10:32 ` chrbr at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-04 9:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian.bruel at st dot
| |com
--- Comment #2 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-10-04 09:50:00 UTC ---
Probably started with rev. 188102 by Christian Bruel.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
2012-10-04 9:47 ` [Bug driver/54789] " d.g.gorbachev at gmail dot com
2012-10-04 9:50 ` d.g.gorbachev at gmail dot com
@ 2012-10-04 10:32 ` chrbr at gcc dot gnu.org
2012-10-04 12:17 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: chrbr at gcc dot gnu.org @ 2012-10-04 10:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
chrbr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chrbr at gcc dot gnu.org
--- Comment #3 from chrbr at gcc dot gnu.org 2012-10-04 10:32:22 UTC ---
indeed the "known" switch field should be true for this option. but why not
directly call save_switch function ?
opt = concat ("fcompare-debug=", compare_debug_opt, NULL);
save_switch (opt, 0, NULL, false, true);
looks more generic to avoid this kind of errors with internal flags and code
duplication.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
` (2 preceding siblings ...)
2012-10-04 10:32 ` chrbr at gcc dot gnu.org
@ 2012-10-04 12:17 ` rguenth at gcc dot gnu.org
2012-10-05 2:57 ` d.g.gorbachev at gmail dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-04 12:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
` (3 preceding siblings ...)
2012-10-04 12:17 ` rguenth at gcc dot gnu.org
@ 2012-10-05 2:57 ` d.g.gorbachev at gmail dot com
2012-11-08 20:13 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-05 2:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #4 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-10-05 02:57:32 UTC ---
Thanks. Patch: <http://gcc.gnu.org/ml/gcc-patches/2012-10/msg00465.html>.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
` (4 preceding siblings ...)
2012-10-05 2:57 ` d.g.gorbachev at gmail dot com
@ 2012-11-08 20:13 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 20:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 20:13:17 UTC ---
Author: jakub
Date: Thu Nov 8 20:13:13 2012
New Revision: 193337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193337
Log:
PR driver/54789
* gcc.c (process_command): Use save_switch for synthesized
-fcompare-debug=* option; mark the switch as known.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
` (5 preceding siblings ...)
2012-11-08 20:13 ` jakub at gcc dot gnu.org
@ 2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 20:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 20:18:15 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-11-08 20:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02 22:24 [Bug driver/54789] New: [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG d.g.gorbachev at gmail dot com
2012-10-04 9:47 ` [Bug driver/54789] " d.g.gorbachev at gmail dot com
2012-10-04 9:50 ` d.g.gorbachev at gmail dot com
2012-10-04 10:32 ` chrbr at gcc dot gnu.org
2012-10-04 12:17 ` rguenth at gcc dot gnu.org
2012-10-05 2:57 ` d.g.gorbachev at gmail dot com
2012-11-08 20:13 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.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).