Assignee: unassigned at gcc dot gnu.org
Reporter: equinox-gccbugs at diac24 dot net
Target Milestone: ---
A common pattern of defining a pair of varargs functions looks like:
void somefuncv(char *spec, va_list ap)
{
/* ... */
}
void somefunc(char *spec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57612
David L. changed:
What|Removed |Added
CC||equinox-gccbugs at diac24 dot
net
Assignee: unassigned at gcc dot gnu.org
Reporter: equinox-gccbugs at diac24 dot net
Target Milestone: ---
Currently, any cast in C will produce the "resolved" type regardless of whether
the cast is written using a typedef. E.g.:
typedef int i;
typedef cons
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091
David L. changed:
What|Removed |Added
CC||equinox-gccbugs at diac24 dot
net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
--- Comment #6 from David L. ---
Created attachment 37808
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37808&action=edit
patch (gcc-5.3.0)
patch attached (probably makes the user's PC explode and burns down their
house)
varpool_node::fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
--- Comment #5 from David L. ---
(In reply to David L. from comment #4)
> Poking around a bit, in wrapup_global_declaration_2() in gcc/toplev.c, the
> check for
>else if (TREE_READONLY (decl) && !TREE_PUBLIC (decl)
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
--- Comment #3 from David L. ---
Poking around a bit, in wrapup_global_declaration_2() in gcc/toplev.c, the
check for
else if (TREE_READONLY (decl) && !TREE_PUBLIC (decl)
&& (optimize || !flag_keep_static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
--- Comment #4 from David L. ---
Argh, for some reason this submitted in the middle of editing...
Poking around a bit, in wrapup_global_declaration_2() in gcc/toplev.c, the
check for
else if (TREE_READONLY (decl) && !TREE_PUBLIC (decl)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
--- Comment #2 from David L. ---
(In reply to Jakub Jelinek from comment #1)
> I disagree, removing static consts is an optimization, if you tell the
> compiler not to optimize, it doesn't perform the optimizations.
Documentation bug then? It s
Assignee: unassigned at gcc dot gnu.org
Reporter: equinox-gccbugs at diac24 dot net
Target Milestone: ---
This bug is an extension of #20319; the -fkeep-static-consts option seems to
have no effect in either direction. (#20319 was focused on the "-fkeep"
variant; my iss
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65808
--- Comment #2 from David L. ---
(In reply to Marek Polacek from comment #1)
> I don't think it is a bug. If you use -pedantic, it doesn't matter whether
> -std=c11 or -std=gnu11 (the default) is in effect.
> If you want to suppress the warning,
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: equinox-gccbugs at diac24 dot net
Created attachment 35359
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35359&action=edit
test program, compile with -std=gnu11 -pedantic
Tr
12 matches
Mail list logo