This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/10981] ICE with undeclared variable in any_external_decl at c-decl.c:1553


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10981


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 14:52 -------
I cannot reproduce this on 3.4, could give the exact compiler version meaning date also.
I am using 3.4 (20030526).


tin:~/src/gnu/gcctest>gcc r10981.c 
r10981.c:2: error: `y' undeclared here (not in a function)
tin:~/src/gnu/gcctest>g++ r10981.c
r10981.c:2: error: `y' was not declared in this scope
tin:~/src/gnu/gcctest>gcc -v
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-
gnu --enable-__cxa_atexit --prefix=/home/gates/pinskia/linux --enable-threads=posix --
enable-shared
Thread model: posix
gcc version 3.4 20030526 (ex
perimental)
tin:~/src/gnu/gcctest>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]