This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 11:44:56 -0000
- Subject: [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
- References: <20050816184352.23426.wilson@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-23 11:44 -------
earth:~>gcc t.cc
t.cc: In function ?int main()?:
t.cc:19: error: size of array ?a? is too large
t.cc:20: error: ?a? was not declared in this scope
earth:~>~/ia32_linux_gcc3_4/bin/gcc t.cc
t.cc: In function `int main()':
t.cc:19: error: size of variable 'a' is too large
earth:~>gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/peshtigo/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-gnu --
host=i686-pc-linux-gnu --enable-__cxa_atexit --enable-languages=c++,objc,java,f95 --prefix=/
home/gates/pinskia/linux --enable-threads=posix --enable-shared
Thread model: posix
gcc version 4.1.0 20050823 (experimental)
So the error message is also a regression but that makes this minor as the first error message is
correct.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Keywords|ice-on-invalid-code |diagnostic
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0
Summary|[4.0/4.1 Regression] partial|[4.0/4.1 Regression] Too
|fix too large array problem |large array problem gives
| |two error message
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23426