| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(structsp): Use them. Update files generated from c-parse.in.
* extend.texi (Type Attributes): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20971 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* toplev.h: New file. Protypes for functions in toplev.c.
* tree.h, rtl.h: Deleted protos for functions in toplev.c.
* c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
varasm.c: include it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19563 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19553 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* c-parse.in: Include system.h, and remove stuff now made redundant.
* cccp.c: Likewise.
* cexp.y: Likewise.
* protoize.c: Likewise. Properly check for cpp stringification.
* Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
Depend on system.h.
* objc/Make-lang.in (objc-parse.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19020 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
definitions for objc.
Include "output.h".
(yyerror): Remove redundant decl.
(yyprint): Fix prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18788 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
be clearer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18341 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
yacc value stack; the code was buggy and occasionally wrote past the
end of the stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13720 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13478 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
expression that is known not to be evaluated.
(sizeof, alignof): New rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13231 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
({typed_declspecs,reserved_declspecs,declmods}_no_prefix_attr): New.
(current_declspecs): Initialize to NULL_TREE.
(fndef): Pass current_declspecs, not $1, to start_function.
(old_style_parm_decls): Renamed from xdecls.
(datadecl, declmods): Add references to new rules.
(setspecs): Call split_specs_attrs.
(absdcl1): Remove case with setattrs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12924 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12023 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(non_empty_protocolrefs): New nonterminal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11858 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(label): Warn about `case expr ... expr:' if pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11160 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10396 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
(stmts, stmt_or_label): Use new member to avoid lexical lookahead hack.
(lineno_stmt_or_labels): New rule.
(lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends in a label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10302 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9959 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9946 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
after function definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9942 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(parm): Use setspecs/restore here.
(parmlist_or_identifiers): Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9776 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
setspecs is used.
(parmlist_or_identifiers): Use setspecs before parsing parms and
restore after parsing parms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9760 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9657 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(parm): Support attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9638 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
definitions (use xdecls).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9628 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(structsp): Pass attribute arg to finish_struct.
Support attributes on enums and pass to finish_enum.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9487 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9458 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
to decl_attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9442 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9377 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9270 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
(attribute_list): Just make chain of all attributes.
(attrib): Consistently put name as PURPOSE, args, if any, as VALUE.
(structsp): Allow attributes on any struct or union.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9260 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9240 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
(setspecs): Save prefix_attributes in declspec_stack.
(decl rules): Restore prefix_attributes along with current_declspecs.
(setattrs): Concatenate prefix_attributes to previous value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9151 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9111 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9109 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8995 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8924 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8748 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8747 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7969 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
empty body.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7722 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
element of an array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7637 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
token is a constant and we need to pop the momentary obstack, don't
free it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7382 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7316 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7252 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
merging the two rules. `mode' attribute now takes a string arg.
Delete the rule for an identifier as arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6913 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(attrib): Use `identifier' instead of `IDENTIFIER' since names that
are (e.g.) typedef names are still OK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6912 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6873 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
are (e.g.) typedef names are still OK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6828 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6581 138bc75d-0d04-0410-961f-82ee72b054a4
|