OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2010-03-26 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
gccbug.in
diff --git
a/gcc/gccbug.in
b/gcc/gccbug.in
index
2fec32b
..
dcec94b
100755
(executable)
--- a/
gcc/gccbug.in
+++ b/
gcc/gccbug.in
@@
-1,6
+1,6
@@
#!/bin/sh
# Submit a problem report to a GNATS site.
#!/bin/sh
# Submit a problem report to a GNATS site.
-# Copyright (C) 1993, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1993, 2000, 2001, 2002, 2003
, 2007
Free Software Foundation, Inc.
# Contributed by Brendan Kehoe (brendan@cygnus.com), based on a
# version written by Heinz G. Seidl (hgs@cygnus.com).
#
# Contributed by Brendan Kehoe (brendan@cygnus.com), based on a
# version written by Heinz G. Seidl (hgs@cygnus.com).
#
@@
-8,7
+8,7
@@
#
# GNU GNATS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# GNU GNATS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version
2
, or (at your option)
+# the Free Software Foundation; either version
3
, or (at your option)
# any later version.
#
# GNU GNATS is distributed in the hope that it will be useful,
# any later version.
#
# GNU GNATS is distributed in the hope that it will be useful,
@@
-17,9
+17,8
@@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with GNU GNATS; see the file COPYING. If not, write to
-# the Free Software Foundation, 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
+# along with GNU GNATS; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
# The version of this send-pr.
VERSION=3.113
# The version of this send-pr.
VERSION=3.113
@@
-31,7
+30,11
@@
SUBMITTER=net
GNATS_ADDR=gcc-gnats@gcc.gnu.org
# The default release for this host.
GNATS_ADDR=gcc-gnats@gcc.gnu.org
# The default release for this host.
-DEFAULT_RELEASE="@gcc_version_full@"
+# We have to guess at what program_transform_name might have done.
+# "sed 1q" because neither "head -1" nor "head -n 1" is universal, argh.
+
+DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`"
+DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`"
# The default organization.
DEFAULT_ORGANIZATION=
# The default organization.
DEFAULT_ORGANIZATION=
@@
-198,7
+201,7
@@
EOF
done
# spam does not need to be listed here
done
# spam does not need to be listed here
-CATEGORIES="ada bootstrap c++ c debug driver fortran inline-asm java lib
f2c libgcj libobjc libstdc++ middle-end objc optimization other pch preprocessor target
web"
+CATEGORIES="ada bootstrap c++ c debug driver fortran inline-asm java lib
gcj libobjc libstdc++ middle-end objc other pch preprocessor rtl-optimization target tree-optimization
web"
case "$FORMAT" in
lisp) echo "$CATEGORIES" | \
case "$FORMAT" in
lisp) echo "$CATEGORIES" | \