https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Manuel López-Ibáñez changed:
What|Removed |Added
CC|manu at gcc dot gnu.org|
Target Milestone|5.4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Richard Biener changed:
What|Removed |Added
Target Milestone|5.3 |5.4
--- Comment #19 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Richard Biener changed:
What|Removed |Added
Target Milestone|5.2 |5.3
--- Comment #18 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|5.0 |5.2
--- Comment #17 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #16 from Marek Polacek ---
What's not fixed is this:
r.c:3:5: note: expected ‘int (*)(double *)’ but argument is of type ‘int
(*)(int *)’
int callf (int, int, int (*)(double *));
^
we should point to the actual parameter. I thi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #15 from Manuel López-Ibáñez ---
Marek, is this fixed? Can we close it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #14 from Marek Polacek ---
Author: mpolacek
Date: Thu Jun 5 09:35:05 2014
New Revision: 211261
URL: http://gcc.gnu.org/viewcvs?rev=211261&root=gcc&view=rev
Log:
PR c/56724
* c-typeck.c (convert_for_assignment): Use expr_loc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #13 from Marek Polacek ---
Yea, you're right, not everything has been fixed. I'll fix up this specific
case in a bit, thanks for reporting it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #12 from Tom Tromey ---
I noticed this patch today and tried it out on my current
test case, which uses -Wc++-compat... unfortunately it
still fails.
Test code:
extern void xfer (int, int, unsigned char *);
void call (int x, int y,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #11 from Marek Polacek ---
Author: mpolacek
Date: Tue May 27 20:14:22 2014
New Revision: 210980
URL: http://gcc.gnu.org/viewcvs?rev=210980&root=gcc&view=rev
Log:
PR c/56724
* c-typeck.c (convert_arguments): Get location of a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #9 from Marek Polacek ---
(In reply to Tom Tromey from comment #5)
> I tried this today with a recent-ish gcc trunk build, and
> there's been a regression.
>
> Now:
>
> barimba. gcc --syntax-only r.c
> r.c: In function ‘docall’:
> r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #8 from Manuel López-Ibáñez ---
(In reply to Tom Tromey from comment #5)
> I tried this today with a recent-ish gcc trunk build, and
> there's been a regression.
I think the problem is that convert_for_assignment uses "location" inst
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #7 from Tom Tromey ---
(In reply to Manuel López-Ibáñez from comment #6)
> (In reply to Tom Tromey from comment #5)
> > The new situation is much worse for me as it prevents automated
> > rewriting...
>
> What automated rewriting?
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #5 from Tom Tromey ---
I tried this today with a recent-ish gcc trunk build, and
there's been a regression.
Now:
barimba. gcc --syntax-only r.c
r.c: In function ‘docall’:
r.c:7:10: warning: passing argument 3 of ‘callf’ from incompa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #3 from Tom Tromey 2013-03-25 18:46:47
UTC ---
(In reply to comment #2)
> Though it does say the 3rd argument though.
Sure, it is just nicer if the compiler counts commas instead of me doing it.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #2 from Andrew Pinski 2013-03-25
18:45:24 UTC ---
(In reply to comment #0)
> t.c: In function ‘docall’:
> t.c:8:3: warning: passing argument 3 of ‘callf’ from incompatible pointer type
> [enabled by default]
> If you have many param
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724
--- Comment #1 from Tom Tromey 2013-03-25 18:44:37
UTC ---
This affects g++ as well.
21 matches
Mail list logo