public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
@ 2005-03-06 11:43 berndtrog at yahoo dot com
  2005-03-06 11:54 ` [Bug ada/20344] " ebotcazou at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: berndtrog at yahoo dot com @ 2005-03-06 11:43 UTC (permalink / raw)
  To: gcc-bugs

$ gnatmake  --RTS=/tmp/rts test1.adb
gcc -c --RTS=/tmp/rts test1.adb
gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"  

Note: This works for 4.0.0-20041123 and fails for 4.0.0-20041129 and newer.

-- 
           Summary: [4.0/4.1 regression] gnat1: error: unrecognized command
                    line option "-fRTS=/tmp/rts"
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: berndtrog at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-gnu-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
@ 2005-03-06 11:54 ` ebotcazou at gcc dot gnu dot org
  2005-03-06 11:55 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-03-06 11:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-03-06 11:54 -------
Confirmed, worked only by accident.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-06 11:54:08
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
  2005-03-06 11:54 ` [Bug ada/20344] " ebotcazou at gcc dot gnu dot org
@ 2005-03-06 11:55 ` ebotcazou at gcc dot gnu dot org
  2005-03-06 11:57 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-03-06 11:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-03-06 11:55 -------
It should be fixed by the next push from AdaCore.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
  2005-03-06 11:54 ` [Bug ada/20344] " ebotcazou at gcc dot gnu dot org
  2005-03-06 11:55 ` ebotcazou at gcc dot gnu dot org
@ 2005-03-06 11:57 ` ebotcazou at gcc dot gnu dot org
  2005-03-15 16:03 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-03-06 11:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-03-06 11:56 -------
The change comes from:

2004-11-28  Matt Kraai  <kraai@alumni.cmu.edu>

	PR diagnostic/17594
	* opts.c (find_opt): Require that the input match a switch exactly
	or that the switch take a joined option to be interpreted as a
	match for another language.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
                   ` (2 preceding siblings ...)
  2005-03-06 11:57 ` ebotcazou at gcc dot gnu dot org
@ 2005-03-15 16:03 ` cvs-commit at gcc dot gnu dot org
  2005-03-15 16:09 ` charlet at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-15 16:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-15 16:03 -------
Subject: Bug 20344

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2005-03-15 16:02:28

Modified files:
	gcc/ada        : misc.c lang.opt 

Log message:
	2005-03-08  Pascal Obry  <obry@adacore.com>
	Eric Botcazou  <ebotcazou@adacore.com>
	
	PR ada/20226
	PR ada/20344
	
	* init.c (__gnat_initialize): Do not call __gnat_install_SEH_handler()
	when IN_RTS. This is to work around a bootstrap path problem.
	
	* misc.c (gnat_parse_file): Create a SEH (Structured Exception Handler)
	table and pass it to __gnat_install_SEH_handler().
	(gnat_handle_option): Accept OPT_fRTS_, not OPT_fRTS.
	
	* lang.opt: Fix specification of -fRTS=.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/misc.c.diff?cvsroot=gcc&r1=1.97&r2=1.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/lang.opt.diff?cvsroot=gcc&r1=1.8&r2=1.9



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
                   ` (3 preceding siblings ...)
  2005-03-15 16:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-15 16:09 ` charlet at gcc dot gnu dot org
  2005-03-15 16:12 ` charlet at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-15 16:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2005-03-15 16:09 -------
Fixed on mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
                   ` (4 preceding siblings ...)
  2005-03-15 16:09 ` charlet at gcc dot gnu dot org
@ 2005-03-15 16:12 ` charlet at gcc dot gnu dot org
  2005-03-17 15:10 ` cvs-commit at gcc dot gnu dot org
  2005-03-17 15:12 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-15 16:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2005-03-15 16:11 -------
Marking as fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
                   ` (5 preceding siblings ...)
  2005-03-15 16:12 ` charlet at gcc dot gnu dot org
@ 2005-03-17 15:10 ` cvs-commit at gcc dot gnu dot org
  2005-03-17 15:12 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-17 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-17 15:08 -------
Subject: Bug 20344

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	ebotcazou@gcc.gnu.org	2005-03-17 15:06:49

Modified files:
	gcc/ada        : ChangeLog lang.opt misc.c 

Log message:
	PR ada/20344
	Backport from mainline:
	
	Eric Botcazou  <ebotcazou@adacore.com>
	* lang.opt: Fix specification of -fRTS=.
	* misc.c (gnat_handle_option): Accept OPT_fRTS_, not OPT_fRTS.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.638.4.3&r2=1.638.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/lang.opt.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8&r2=1.8.62.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/misc.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.96&r2=1.96.6.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/20344] [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts"
  2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
                   ` (6 preceding siblings ...)
  2005-03-17 15:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-17 15:12 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-03-17 15:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-03-17 15:10 -------
Fixed in 4.0.0.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20344


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-17 15:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-06 11:43 [Bug ada/20344] New: [4.0/4.1 regression] gnat1: error: unrecognized command line option "-fRTS=/tmp/rts" berndtrog at yahoo dot com
2005-03-06 11:54 ` [Bug ada/20344] " ebotcazou at gcc dot gnu dot org
2005-03-06 11:55 ` ebotcazou at gcc dot gnu dot org
2005-03-06 11:57 ` ebotcazou at gcc dot gnu dot org
2005-03-15 16:03 ` cvs-commit at gcc dot gnu dot org
2005-03-15 16:09 ` charlet at gcc dot gnu dot org
2005-03-15 16:12 ` charlet at gcc dot gnu dot org
2005-03-17 15:10 ` cvs-commit at gcc dot gnu dot org
2005-03-17 15:12 ` ebotcazou 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).