[Bug rtl-optimization/23444] Volatile register access incorrectly optimized

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 17 15:59:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list