This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Reporting bug of gcc-2.95.2 (on sql_acl.cc)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Reporting bug of gcc-2.95.2 (on sql_acl.cc)
- From: Sze-Yao Ni <nee at axp1 dot csie dot ncu dot edu dot tw>
- Date: Wed, 10 May 2000 21:43:45 +0800
GCC bug report:
On compiling sql_acl.cc of mysql-3.22.32 using gcc-2.95.2 on
Digital UNIX 4.0B.
(gcc-2.95.1 gives the same result)
Command line:
c++ -v --save-temps -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" \
-DDATADIR="\"/usr/local/mysql/var\"" \
-DSHAREDIR="\"/usr/local/mysql/share/mysql\"" \
-DHAVE_CONFIG_H -I./../include -I./../regex -I. \
-I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates \
-c sql_acl.cc
Output of the above command:
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/cpp -lang-c++ -v -I./../include -I./../regex -I. -I../include -I.. -I. -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -D__OPTIMIZE__ -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev4__ -Acpu(ev4) -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local/mysql" -DDATADIR="/usr/local/mysql/var" -DSHAREDIR="/usr/local/mysql/share/mysql" -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDBUG_OFF sql_acl.cc sql_acl.ii
GNU CPP version 2.95.2 19991024 (release)
#include "..." search starts here:
#include <...> search starts here:
../include
../regex
.
../include
..
.
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/../../../../include/g++-3
/usr/local/include
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/../../../../alpha-dec-osf4.0b/include
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.2/cc1plus sql_acl.ii -quiet -dumpbase sql_acl.cc -O3 -version -fno-implicit-templates -o sql_acl.s
GNU C++ version 2.95.2 19991024 (release) (alpha-dec-osf4.0b) compiled by GNU C version 2.95.1 19990816 (release).
In file included from ../include/global.h:132,
from mysql_priv.h:15,
from sql_acl.cc:25:
/usr/include/alloca.h:71: warning: declaration of `void * alloca(int)'
/usr/include/alloca.h:71: warning: conflicts with built-in declaration `void * alloca(long unsigned int)'
sql_acl.cc: In function `int replace_column_table(THD *, GRANT_TABLE *, TABLE *, const LEX_USER &, List<LEX_COLUMN> &, const char *, const char *, unsigned int, bool)':
sql_acl.cc:1367: Internal compiler error in `scan_region', at except.c:2566
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
::+------------+ Dept. of Computer Science and Info. Eng.
::| Sze-Yao Ni | National Central University
::+------------+ Chung-Li, Taiwan, 32054
:: http://axp1.csie.ncu.edu.tw/~nee/
:: mailto:nee@axp1.csie.ncu.edu.tw
sql_acl.ii.gz