* [Bug ada/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
@ 2011-01-28 9:26 ` ebotcazou at gcc dot gnu.org
2011-01-28 18:08 ` joel at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-28 9:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |mips-*-rtems
CC| |ebotcazou at gcc dot
| |gnu.org
Summary|mips-*-rtems*: -G0 option |-G0 option not recognized
|not recognized by gnat1 |by gnat1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-28 07:50:08 UTC ---
> Hints or tiny patch appreciated.
You need to find out whether/how this works for the C compiler.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
2011-01-28 9:26 ` [Bug ada/47500] " ebotcazou at gcc dot gnu.org
@ 2011-01-28 18:08 ` joel at gcc dot gnu.org
2011-01-28 20:58 ` pinskia at gcc dot gnu.org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: joel at gcc dot gnu.org @ 2011-01-28 18:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #2 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-28 16:56:34 UTC ---
(In reply to comment #1)
> > Hints or tiny patch appreciated.
>
> You need to find out whether/how this works for the C compiler.
What do you mean? It dictates the maximum size of objects placed in sbss and
sdata sections. So -Gnumber is accepted by cc1.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
2011-01-28 9:26 ` [Bug ada/47500] " ebotcazou at gcc dot gnu.org
2011-01-28 18:08 ` joel at gcc dot gnu.org
@ 2011-01-28 20:58 ` pinskia at gcc dot gnu.org
2011-01-28 22:46 ` joel at gcc dot gnu.org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-01-28 20:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-28 20:05:08 UTC ---
Hmm, isn't the option "-G 0" and not "-G0" ?
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (2 preceding siblings ...)
2011-01-28 20:58 ` pinskia at gcc dot gnu.org
@ 2011-01-28 22:46 ` joel at gcc dot gnu.org
2011-01-30 23:41 ` ebotcazou at gcc dot gnu.org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: joel at gcc dot gnu.org @ 2011-01-28 22:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #4 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-28 21:18:17 UTC ---
(In reply to comment #3)
> Hmm, isn't the option "-G 0" and not "-G0" ?
We have been using -G0 for years with the rtems mips BSPs and gcc happily
accepts it. The parsing of it must be forgiving. :)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (3 preceding siblings ...)
2011-01-28 22:46 ` joel at gcc dot gnu.org
@ 2011-01-30 23:41 ` ebotcazou at gcc dot gnu.org
2011-09-05 19:45 ` [Bug target/47500] " linux at schildmann dot info
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-30 23:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-30 22:28:40 UTC ---
> What do you mean? It dictates the maximum size of objects placed in sbss and
> sdata sections. So -Gnumber is accepted by cc1.
The question is, how does it accept it?
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (4 preceding siblings ...)
2011-01-30 23:41 ` ebotcazou at gcc dot gnu.org
@ 2011-09-05 19:45 ` linux at schildmann dot info
2014-11-06 23:11 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: linux at schildmann dot info @ 2011-09-05 19:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
Peter Schildmann <linux at schildmann dot info> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |linux at schildmann dot
| |info
--- Comment #6 from Peter Schildmann <linux at schildmann dot info> 2011-09-05 19:45:27 UTC ---
diff --git a/gcc/ada/back_end.adb b/gcc/ada/back_end.adb
index 7172696..fdd06f1 100644
--- a/gcc/ada/back_end.adb
+++ b/gcc/ada/back_end.adb
@@ -206,6 +206,7 @@ package body Back_End is
-- Skip -o or internal GCC switches together with their argument
if Switch_Chars (First .. Last) = "o"
+ or else Switch_Chars (First .. Last) = "G"
or else Is_Internal_GCC_Switch (Switch_Chars)
then
Next_Arg := Next_Arg + 1;
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (5 preceding siblings ...)
2011-09-05 19:45 ` [Bug target/47500] " linux at schildmann dot info
@ 2014-11-06 23:11 ` ebotcazou at gcc dot gnu.org
2014-11-20 11:56 ` charlet at gcc dot gnu.org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-06 23:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-11-06
Target Milestone|--- |4.8.4
Ever confirmed|0 |1
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
We should fix this.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (6 preceding siblings ...)
2014-11-06 23:11 ` ebotcazou at gcc dot gnu.org
@ 2014-11-20 11:56 ` charlet at gcc dot gnu.org
2014-11-20 11:57 ` charlet at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-11-20 11:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #8 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Author: charlet
Date: Thu Nov 20 11:55:25 2014
New Revision: 217849
URL: https://gcc.gnu.org/viewcvs?rev=217849&root=gcc&view=rev
Log:
2014-11-20 Vincent Celier <celier@adacore.com>
PR ada/47500
* back_end.adb (Scan_Back_End_Switches): Skip switch -G and
its argument.
Modified:
trunk/gcc/ada/back_end.adb
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (7 preceding siblings ...)
2014-11-20 11:56 ` charlet at gcc dot gnu.org
@ 2014-11-20 11:57 ` charlet at gcc dot gnu.org
2014-11-22 11:29 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-11-20 11:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
Arnaud Charlet <charlet at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |charlet at gcc dot gnu.org
Resolution|--- |FIXED
Target Milestone|4.8.4 |5.0
--- Comment #9 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Fixed on trunk
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (8 preceding siblings ...)
2014-11-20 11:57 ` charlet at gcc dot gnu.org
@ 2014-11-22 11:29 ` ebotcazou at gcc dot gnu.org
2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-22 11:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sat Nov 22 11:28:56 2014
New Revision: 217962
URL: https://gcc.gnu.org/viewcvs?rev=217962&root=gcc&view=rev
Log:
Backport from mainline
2014-11-20 Vincent Celier <celier@adacore.com>
PR ada/47500
* back_end.adb (Scan_Back_End_Switches): Skip switch -G and
its argument.
Modified:
branches/gcc-4_9-branch/gcc/ada/ChangeLog
branches/gcc-4_9-branch/gcc/ada/back_end.adb
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (9 preceding siblings ...)
2014-11-22 11:29 ` ebotcazou at gcc dot gnu.org
@ 2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-22 11:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|5.0 |4.8.4
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed on all active branches.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/47500] -G0 option not recognized by gnat1
2011-01-27 22:53 [Bug ada/47500] New: mips-*-rtems*: -G0 option not recognized by gnat1 joel at gcc dot gnu.org
` (10 preceding siblings ...)
2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
@ 2014-11-22 11:30 ` ebotcazou at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-22 11:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47500
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sat Nov 22 11:29:27 2014
New Revision: 217963
URL: https://gcc.gnu.org/viewcvs?rev=217963&root=gcc&view=rev
Log:
Backport from mainline
2014-11-20 Vincent Celier <celier@adacore.com>
PR ada/47500
* back_end.adb (Scan_Back_End_Switches): Skip switch -G and
its argument.
Modified:
branches/gcc-4_8-branch/gcc/ada/ChangeLog
branches/gcc-4_8-branch/gcc/ada/back_end.adb
^ permalink raw reply [flat|nested] 13+ messages in thread