re PR bootstrap/54326 (GCC does not build with G++ version 3.4.0)
2012-08-20 Richard Guenther <rguenther@suse.de> PR bootstrap/54326 * genoutput.c (note_constraint): Properly use CONST_CAST. From-SVN: r190524
This commit is contained in:
parent
f657024b85
commit
e7eec276ff
@ -1,3 +1,8 @@
|
||||
2012-08-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR bootstrap/54326
|
||||
* genoutput.c (note_constraint): Properly use CONST_CAST.
|
||||
|
||||
2012-08-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR target/54306
|
||||
|
@ -1175,7 +1175,7 @@ note_constraint (rtx exp, int lineno)
|
||||
}
|
||||
}
|
||||
new_cdata = XNEWVAR (struct constraint_data, sizeof (struct constraint_data) + namelen);
|
||||
strcpy ((char *)new_cdata + offsetof(struct constraint_data, name), name);
|
||||
strcpy (CONST_CAST(char *, new_cdata->name), name);
|
||||
new_cdata->namelen = namelen;
|
||||
new_cdata->lineno = lineno;
|
||||
new_cdata->next_this_letter = *slot;
|
||||
|
Loading…
Reference in New Issue
Block a user