https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
Andrew Pinski changed:
What|Removed |Added
CC||cookevillain at yahoo dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
uecker at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #9 from CVS Commits ---
The master branch has been updated by Martin Uecker :
https://gcc.gnu.org/g:1f186f64b8602d74769af4a6250255e51227f744
commit r14-4689-g1f186f64b8602d74769af4a6250255e51227f744
Author: Martin Uecker
Date: S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #8 from Martin Uecker ---
PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632999.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #7 from Martin Uecker ---
Created attachment 56075
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56075&action=edit
patch adding error external / internal mismatch of functions
Untested patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
Martin Uecker changed:
What|Removed |Added
CC||muecker at gwdg dot de
--- Comment #6 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #5 from Kirill Frolov ---
C standard states,that:
6.2.2 Linkages of identifiers
7) If, within a translation unit, the same identifier appears with both
internal and external linkage, the behavior is undefined.
So, I think only IC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #4 from Kirill Frolov ---
With updated source ICC still gives an error.
MSVC works from my point of view correcly, same as Clang.
Lets see to a C-standard
(https://files.lhmouse.com/standards/ISO%20C%20N2176.pdf),
section 6.2.2 sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #3 from Kirill Frolov ---
Looks like example demonstrates undefined behaviour. This article
(https://wiki.sei.cmu.edu/confluence/display/c/DCL36-C.+Do+not+declare+an+identifier+with+conflicting+linkage+classifications)
contains tabl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
--- Comment #2 from Andrew Pinski ---
Note ICC rejects this as invalid:
```
(14): error #172: external/internal linkage conflict with previous
declaration at line 10
int f(int);
^
```
Which is what I had expected to happ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111708
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
11 matches
Mail list logo