--- gcc/config/h8300/h8300.c 2018/04/24 18:21:43 1.1.1.2 +++ gcc/config/h8300/h8300.c 2018/04/24 18:29:13 1.1.1.3 @@ -1,5 +1,5 @@ /* Subroutines for insn-output.c for Hitachi H8/300. - Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. Contributed by Steve Chamberlain (sac@cygnus.com), Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com). @@ -17,7 +17,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include #include "config.h" @@ -576,9 +577,15 @@ handle_pragma (file) if (strcmp (pbuf, "saveall") == 0) pragma_saveall = 1; - /* ??? This is deprecated. Use section attributes. */ + /* ??? This is deprecated. Delete for gcc 2.8. */ if (strcmp (pbuf, "section") == 0) { + static int printed_p = 0; + if (!printed_p) + { + warning ("#pragma section is deprecated, use section attributes"); + printed_p = 1; + } while (c && !isalpha (c)) c = getc (file); psize = 0; @@ -589,7 +596,7 @@ handle_pragma (file) c = getc (file); } pbuf[psize] = 0; - named_section (pbuf); + named_section (NULL_TREE, pbuf); } ungetc (c, file); return c; @@ -863,7 +870,7 @@ print_operand (file, x, code) break; case 'L': /* 'L' must always be used twice in a single pattern. It generates - the same lable twice, and then will generate a unique label the + the same label twice, and then will generate a unique label the next time it is used. */ asm_fprintf (file, "tl%d", (lab++) / 2); break; @@ -1995,7 +2002,7 @@ fix_bit_operand (operands, what, type) char what; enum rtx_code type; { - /* The bit_operand predicate accepts any memory durint RTL generation, but + /* The bit_operand predicate accepts any memory during RTL generation, but only 'U' memory afterwards, so if this is a MEM operand, we must force it to be valid for 'U' by reloading the address. */