[Bug c/34735] C99 6.7.4/3 is not diagnose

2008-01-13 Thread geoffk at gcc dot gnu dot org
--- Comment #3 from geoffk at gcc dot gnu dot org 2008-01-14 00:55 --- The quoted paragraph does not apply to the first code example, because an "inline definition" is defined in paragraph 6 as: If all of the file scope declarations for a function in a translation unit include the inline

[Bug c/34735] C99 6.7.4/3 is not diagnose

2008-01-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-11 09:28 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/34735] C99 6.7.4/3 is not diagnose

2008-01-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-11 05:15 --- We do reject this though: static int a() { return 0; } inline int f(void) { return a(); } extern int f(void); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34735