This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/23444] Volatile register access incorrectly optimized
- 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: 17 Aug 2005 15:59:43 -0000
- Subject: [Bug rtl-optimization/23444] Volatile register access incorrectly optimized
- References: <20050817154313.23444.oakad@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-17 15:59 -------
(In reply to comment #2)
> Preprocessed source:
Of course that does not compile:
t.c:1: error: parse error before "bootflag"
t.c: In function `board_init_f':
t.c:3: error: syntax error before '*' token
t.c:5: error: `bd_t' undeclared (first use in this function)
t.c:5: error: (Each undeclared identifier is reported only once
t.c:5: error: for each function it appears in.)
t.c:5: error: `bd' undeclared (first use in this function)
t.c:6: error: `ulong' undeclared (first use in this function)
t.c:6: error: parse error before "len"
t.c:7: error: `gd_t' undeclared (first use in this function)
t.c:7: error: `id' undeclared (first use in this function)
t.c:8: error: `init_fnc_t' undeclared (first use in this function)
t.c:8: error: `init_fnc_ptr' undeclared (first use in this function)
board.c:360: error: `gd' undeclared (first use in this function)
board.c:369: error: parse error before '...' token
We need a full testcase which actually compiles.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23444