https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
--- Comment #8 from Marek Polacek ---
Author: mpolacek
Date: Fri Dec 9 19:05:28 2016
New Revision: 243498
URL: https://gcc.gnu.org/viewcvs?rev=243498=gcc=rev
Log:
PR middle-end/78750
* builtins.c (check_sizes): Use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
--- Comment #6 from Marek Polacek ---
Reduced:
extern "C" char *strcpy (char *, const char *);
void
fn (char *p, char )
{
strcpy (p, );
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
--- Comment #5 from Marek Polacek ---
Actually, this should be better:
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3091,7 +3091,7 @@ check_sizes (int opt, tree exp, tree size, tree maxlen,
tree str, tree objsize)
{
/* STR is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
--- Comment #4 from Marek Polacek ---
The following should fix it.
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 20515e7..08bf148 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3025,7 +3025,8 @@ get_size_range (tree exp, tree
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
--- Comment #3 from Marek Polacek ---
Confirmed it's r243419.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
Markus Trippelsdorf changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
10 matches
Mail list logo