comparison gcc/gimple-expr.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Gimple decl, type, and expression support functions. 1 /* Gimple decl, type, and expression support functions.
2 2
3 Copyright (C) 2007-2017 Free Software Foundation, Inc. 3 Copyright (C) 2007-2018 Free Software Foundation, Inc.
4 Contributed by Aldy Hernandez <aldyh@redhat.com> 4 Contributed by Aldy Hernandez <aldyh@redhat.com>
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
444 444
445 /* The variable was declared by the compiler. */ 445 /* The variable was declared by the compiler. */
446 DECL_ARTIFICIAL (tmp_var) = 1; 446 DECL_ARTIFICIAL (tmp_var) = 1;
447 /* And we don't want debug info for it. */ 447 /* And we don't want debug info for it. */
448 DECL_IGNORED_P (tmp_var) = 1; 448 DECL_IGNORED_P (tmp_var) = 1;
449 /* And we don't want even the fancy names of those printed in
450 -fdump-final-insns= dumps. */
451 DECL_NAMELESS (tmp_var) = 1;
449 452
450 /* Make the variable writable. */ 453 /* Make the variable writable. */
451 TREE_READONLY (tmp_var) = 0; 454 TREE_READONLY (tmp_var) = 0;
452 455
453 DECL_EXTERNAL (tmp_var) = 0; 456 DECL_EXTERNAL (tmp_var) = 0;
629 return false; 632 return false;
630 633
631 op = TREE_OPERAND (op, 0); 634 op = TREE_OPERAND (op, 0);
632 } 635 }
633 636
634 if (CONSTANT_CLASS_P (op) || TREE_CODE (op) == MEM_REF) 637 if (CONSTANT_CLASS_P (op)
638 || TREE_CODE (op) == TARGET_MEM_REF
639 || TREE_CODE (op) == MEM_REF)
635 return true; 640 return true;
636 641
637 switch (TREE_CODE (op)) 642 switch (TREE_CODE (op))
638 { 643 {
639 case PARM_DECL: 644 case PARM_DECL: