This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/36907] [4.4 Regression]: Gcc failed to bootstrap
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2008 13:15:23 -0000
- Subject: [Bug bootstrap/36907] [4.4 Regression]: Gcc failed to bootstrap
- References: <bug-36907-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from hjl dot tools at gmail dot com 2008-07-24 13:15 -------
[hjl@gnu-12 gcc]$ cat bar.i
typedef __builtin_va_list __gnuc_va_list;
extern void warning (int, const char *, ...) __attribute__ ((__format__
(__printf__, 2, 3))) __attribute__ ((__nonnull__ (2))) __attribute__
((__cold__));
extern void foo (const char *, __gnuc_va_list);
void
warning (int opt __attribute__ ((__unused__)), const char *format, ...)
{
__gnuc_va_list ap;
__builtin_va_start(ap,format);
foo (format, ap);
__builtin_va_end(ap);
}
[hjl@gnu-12 gcc]$ ../prev-gcc/xgcc -B../prev-gcc/ -O -S bar.i
bar.i: In function âwarningâ:
bar.i:12: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-12 gcc]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36907