aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
AgeCommit message (Collapse)AuthorFilesLines
1999-07-31Backport of GC branch patches part 1: kill eh status saving.Bernd Schmidt1-1/+0
From-SVN: r28357
1999-06-20c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes.Mumit Khan1-3/+8
* c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes. (insert_pack_attributes): Take into account member natural alignment. From-SVN: r27648
1999-06-08c-pragma.c (handle_pragma_token): Handle `#pragma pack()' correctly.Mumit Khan1-2/+11
* c-pragma.c (handle_pragma_token): Handle `#pragma pack()' correctly. From-SVN: r27432
1999-04-26c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes.Jason Merrill1-41/+99
* c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes. (handle_pragma_token): Likewise. * c-pragma.c: Support for #pragma pack (push, <id>, <n>). (struct align_stack): Add id field. (push_alignment, pop_alignment): Take id parameter. (handle_pragma_token): Add necessary states. * c-pragma.h (enum pragma_state): Add necessary states. From-SVN: r26662
1999-02-25* c-pragma.c (add_weak); Delete. Moved into...Jeffrey A Law1-24/+0
* varasm.c (add_weak): New external function. (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to the list of weak functions. * c-pragma (add_weak): Declare. From-SVN: r25454
1999-02-18bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.Kaveh R. Ghazi1-1/+1
* bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. * bitmap.h (bitmap_print): Likewise. * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise. * c-lang.c (build_objc_string): Likewise. * c-lex.c (yyerror, extend_token_buffer): Likewise. Don't include limits.h or ctype.h. Remove unused variable `p'. * c-lex.h (yyerror): Qualify a char* with the `const' keyword. * c-pragma.c (handle_pragma_token): Likewise. * c-pragma.h (handle_pragma_token): Likewise. * c-tree.h (build_objc_string, builtin_function, grokfield, build_indirect_ref, lvalue_or_else, readonly_warning, error_init, pedwarn_init): Likewise. * c-typeck.c (convert_for_assignment, warn_for_assignment, push_string, warning_init, incomplete_type_error, build_indirect_ref, lvalue_or_else, readonly_warning, build_c_cast, spelling, push_member_name, print_spelling, error_init, pedwarn_init, start_init): Likewise. * objc/objc-act.c (build_objc_string): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise. From-SVN: r25296
1998-10-14c-pragma.c (handle_pragma_token): Test for null tree before dereferencing ↵Robert Lipe1-1/+1
TREE_CODE. * c-pragma.c (handle_pragma_token): Test for null tree before dereferencing TREE_CODE. From-SVN: r23104
1998-10-11c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use ↵Robert Lipe1-1/+5
that as the pack value. * c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as the pack value. From-SVN: r22997
1998-10-07Do not insert packing attributes unless #pragma pack(push,<n>) is active.Nick Clifton1-1/+2
From-SVN: r22894
1998-10-01Add support for #pragma pack(push,<n>) and #pragma pack(pop).Nick Clifton1-71/+334
From-SVN: r22710
1998-09-02Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.Nick Clifton1-22/+25
Add INSERT_ATTRIBUTES macro. From-SVN: r22165
1998-05-28Make rtx, tree types type correct if the appropriate include files was not ↵Michael Meissner1-0/+1
included From-SVN: r20114
1998-05-06toplev.h: New file.Robert Lipe1-0/+1
Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com> * 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. From-SVN: r19563
1998-03-20Major cutover to using system.h:Kaveh R. Ghazi1-1/+1
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o, c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o, caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o, dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o, expr.o, final.o, flow.o, function.o, getpwd.o, global.o, integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o, prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o, reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o, rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o, tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend on system.h. * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c, c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c, caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c, dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c, expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c, integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c, prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c, reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c, rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c, stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c, xcoffout.c: Include system.h. Organize include ordering so that stdarg/varargs comes before other system headers. Remove spurious casts of functions assured of a prototype in system.h. From-SVN: r18726
1997-12-22Opps. Forgot to check it in.Jeff Law1-0/+1
From-SVN: r17188
1997-12-21c-pragma.c (handle_pragma_token): Generate warning messages about unknown ↵Nick Clifton1-4/+13
pragmas if warn_unknown_pragmas is set. * c-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas if warn_unknown_pragmas is set. * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command line option to set variable: warn_unknown_pragmas. From-SVN: r17168
1996-07-23install EH codeMike Stump1-0/+1
From-SVN: r12550
1996-07-03formatting tweaksMike Stump1-1/+1
From-SVN: r12390
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-04-18Move pragma interface support to c-pragma.hMichael Meissner1-23/+2
From-SVN: r9410
1994-02-27(HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF notJim Wilson1-2/+4
SET_ASM_OP when defining it. From-SVN: r6665
1993-10-11(enum pragma_state): Defined.Richard Stallman1-0/+16
From-SVN: r5720
1993-09-21bytecodeJan Brittenson1-32/+4
From-SVN: r5379
1992-08-01(HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined.Richard Stallman1-1/+1
From-SVN: r1741
1992-07-01Undo rcs botchTom Wood1-16/+23
From-SVN: r1370
1992-06-30(handle_sysv_pragma): Function moved to c-lex.c.Richard Stallman1-32/+4
From-SVN: r1358
1992-06-30Initial revisionRichard Stallman1-0/+219
From-SVN: r1357