PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10110
charlet at gcc dot gnu dot org changed:
What|Removed |Added
Le 22.10.03, Matthias Klose a tapoté :
| Thomas, please could you recheck with gcc-3.3.2-1 from unstable?
julie[gacc] cat /root/apt-200310221207.log
Inst gcc-3.3 [1:3.3.2-0pre5] (1:3.3.2-1 Debian:unstable)
julie[gacc] gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-linux/3.3.2/specs
Configured
Le 22.10.03, Ben Collins a tapoté :
| This is a bug in the code. Too much allocation on the stack:
|
| int read_infos (int socket_data, char **infos) {
| int nb;
| char datas[SSIZE_MAX];
|
| /* SSIZE_MAX = 2147483647 */
|
| That's 2 gigs of stack allocation...not likely to happen :)
| this overflow of stack in assembly:
|
| read_infos:
| .LLFB46:
| .loc 1 197 0
| !#PROLOGUE# 0
| save%sp, --2147483544, %sp
|
| Notice the double negative, produces by overflowing the stack pointer,
I'm not very familiar with compilers internals but (I once made
Le 22.10.03, Ben Collins a tapoté :
| I'm not very familiar with compilers internals but (I once made
| a code-generator, that's all) but how can a double negative can
| happen ?
|
| It is basically this:
|
| fprintf(asm_file, \tsave\t%sp, -%d, %sp\n, size_of_stack);
|
| So
Package: g++-3.3
Version: 3.3.2-1
Severity: normal
I'm confused about the -Wformat behaviour in newer g++ 3.3 releases.
It works for plain C, but seems to be ignored for C++ (in some cases
at least). Look at this:
[EMAIL PROTECTED]:~$ cat testik.cc
#include stdio.h
int main()
{
printf(%d\n,
Forgotten copy; the file is stored on
http://people.debian.org/~blade/misc/sshfs-breaks-with-g++-3.3.tgz
- Forwarded message from Eduard Bloch [EMAIL PROTECTED] -
Date: Wed, 22 Oct 2003 11:28:47 +0200
From: Eduard Bloch [EMAIL PROTECTED]
Subject: Re: Bug#194345: FTB the lufs package
To:
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10110
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-22
15:27 ---
Subject: Bug 10110
CVSROOT:/cvs/gcc
Module name:gcc
Changes by:
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8610
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-22
15:52 ---
Subject: Bug 8610
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8610
paolo at gcc dot gnu dot org changed:
What|Removed |Added
10 matches
Mail list logo