[Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 23 11:46:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list