[Bug lto/107036] New: Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute

2022-09-25 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107036

Bug ID: 107036
   Summary: Emitted binary code changes when -g is enabled at -O1
-flto and optimize attribute
   Product: gcc
   Version: 13.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This occurs when compiling attributes_program0_preprocessed.c as shown below:

$ cat attributes_program0_preprocessed.c
struct {
  volatile short a;
  int b;
} c = {1};
void d() { short e = c.b; }
void f() {}
void g() { c.a; }
__attribute__((optimize(0))) int main() {
  f(g);
  d();
}
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.KbBz3lKFoo-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.0.0 20220925 (experimental) [master -g28a61ecdc] (GCC)
tlwang@cartesian:~/inline_asm_bugs/3966721184$ gcc-trunk -w -flto -O1
attributes_program0_preprocessed.c -o a.out ; objdump --disassemble
--section=.text a.out > no_dbg.txt
$ gcc-trunk -w -flto -O1 attributes_program0_preprocessed.c -g -o a.out ;
objdump --disassemble --section=.text a.out > dbg.txt
$ diff no_dbg.txt dbg.txt
98,100c98,101
<   401113: 0f b7 05 ee 0e 00 00movzwl 0xeee(%rip),%eax# 402008

<   40111a: c3  retq
<   40111b: 0f 1f 44 00 00  nopl   0x0(%rax,%rax,1)
---
>   401113: c3  retq
>   401114: 66 2e 0f 1f 84 00 00nopw   %cs:0x0(%rax,%rax,1)
>   40111b: 00 00 00
>   40111e: 66 90   xchg   %ax,%ax

[Bug lto/107030] New: Emitted binary code changes when -g is enabled at -O2 -flto and optimize attribute

2022-09-24 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107030

Bug ID: 107030
   Summary: Emitted binary code changes when -g is enabled at -O2
-flto and optimize attribute
   Product: gcc
   Version: 13.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This occurs when compiling attributes_program0_preprocessed.c as shown below:

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.O2a2UsOhYi-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.0.0 20220924 (experimental) [master -g4afaeaab5] (GCC)
$ cat attributes_program0_preprocessed.c
int a;
union {
  char b;
  long c;
} d = {0};
void e(f) { g(d.b); }
__attribute__((optimize(0))) static short h() {
  e(d.c);
  int i = a;
}
void g(j) {}
int main() {}
$ gcc-trunk -w -flto -O2 attributes_program0_preprocessed.c -o a.out; objdump
--disassemble --section=.text a.out > no_dbg.txt
$ gcc-trunk -w -flto -O2 attributes_program0_preprocessed.c -g -o a.out;
objdump --disassemble --section=.text a.out > dbg.txt
$ diff no_dbg.txt dbg.txt
96c96
<   401124: 8b 05 de 0e 00 00   mov0xede(%rip),%eax# 402008

---
>   401124: 8b 05 da 0e 00 00   mov0xeda(%rip),%eax# 402004 
> 

[Bug rtl-optimization/106364] New: ICE when compiling inline asm with -m32

2022-07-19 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106364

Bug ID: 106364
   Summary: ICE when compiling inline asm with -m32
   Product: gcc
   Version: 13.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rtl-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
  Target Milestone: ---

See below.

// Target: x86_64-pc-linux-gnu
// Configured with: /tmp/tmp.KjYQzLjtrV-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
// Thread model: posix
// Supported LTO compression algorithms: zlib
// gcc version 13.0.0 20220719 (experimental) [master -g2180cdd8a] (GCC)
//
// inline_asm_program0_preprocessed.c: In function ‘l’:
// inline_asm_program0_preprocessed.c:6:5: error: ‘asm’ operand has impossible
constraints
// 6 | asm(""
//   | ^~~
// during RTL pass: reload
// inline_asm_program0_preprocessed.c:9:1: internal compiler error: maximum
number of LRA assignment passes is achieved (30)
// 9 | }
//   | ^
// 0xe5fd80 lra_assign(bool&)
//  /tmp/tmp.KjYQzLjtrV-gcc-builder/gcc/gcc/lra-assigns.cc:1694
// 0xe5a76c lra(_IO_FILE*)
//  /tmp/tmp.KjYQzLjtrV-gcc-builder/gcc/gcc/lra.cc:2426
// 0xe0e159 do_reload
//  /tmp/tmp.KjYQzLjtrV-gcc-builder/gcc/gcc/ira.cc:5940
// 0xe0e159 execute
//  /tmp/tmp.KjYQzLjtrV-gcc-builder/gcc/gcc/ira.cc:6126
// Please submit a full bug report, with preprocessed source.
// Please include the complete backtrace with any bug report.
// See  for instructions.

// /scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/13.0.0/cc1
-quiet -imultilib 32 -imultiarch i386-linux-gnu
inline_asm_program0_preprocessed.c -quiet -dumpdir a- -dumpbase
inline_asm_program0_preprocessed.c -dumpbase-ext .c -m32 -mtune=generic
-march=x86-64 -O0 -w -freport-bug -o - -frandom-seed=0 -fdump-noaddr

# 0 "inline_asm_program0_preprocessed.c"
# 0 ""
# 0 ""
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "" 2
# 1 "inline_asm_program0_preprocessed.c"
a, b, c, d, e, f, g, h, i;
long long j;
char k;
l() {
  for (;; l())
asm(""
: "+a"(h), "+r"(b), "=r"(a), "+r"(f), "+r"(e), "+r"(i), "=r"(g),
  "+r"(j), "=r"(d), "+r"(b), "+r"(k), "=r"(c));
}

[Bug lto/104589] New: Emitted binary code changes when -g is enabled at -O0 -flto and optimize attribute

2022-02-17 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104589

Bug ID: 104589
   Summary: Emitted binary code changes when -g is enabled at -O0
-flto and optimize attribute
   Product: gcc
   Version: 12.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This occurs in preprocessed.c, as shown below:

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.m8P0CFupUR-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.1 20220217 (experimental) [master -g837eb1262] (GCC)
$
$ cat preprocessed.c
short a, b;
int c, d;
__attribute__((always_inline)) __attribute__((optimize(1))) short e() {
  for (; 0;)
return 0;
  d = b;
  c = ({
int g = b;
g & ? g : a;
  });
  short f;
  return 8;
# 8 ""
}
int main() {
  strcmp("");
  e();
}
$
$ gcc-trunk -flto -w -O0 preprocessed.c; objdump --disassemble --section=.text
a.out > no_debug.txt
$ gcc-trunk -flto -w -O0 -g preprocessed.c; objdump --disassemble
--section=.text a.out > debug.txt
$ diff no_debug.txt debug.txt
94c94
<   401126: 75 08   jne401130 
---
>   401126: 75 09   jne401131 
97,101c97,102
<   401130: 89 05 fa 2e 00 00   mov%eax,0x2efa(%rip)#
404030 
<   401136: b8 00 00 00 00  mov$0x0,%eax
<   40113b: 5d  pop%rbp
<   40113c: c3  retq
<   40113d: 0f 1f 00nopl   (%rax)
---
>   401130: 90  nop
>   401131: 89 05 f9 2e 00 00   mov%eax,0x2ef9(%rip)# 
> 404030 
>   401137: b8 00 00 00 00  mov$0x0,%eax
>   40113c: 5d  pop%rbp
>   40113d: c3  retq
>   40113e: 66 90   xchg   %ax,%ax

[Bug debug/104337] New: ICE when compiling with optimize attribute at -m32 -g3 -O0

2022-02-01 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104337

Bug ID: 104337
   Summary: ICE when compiling with optimize attribute at -m32 -g3
-O0
   Product: gcc
   Version: 12.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
  Target Milestone: ---

This occurs in attributes_transformed_program0_preprocessed.c, shown below:

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.1 20220201 (experimental) [master -g1bb526625] (GCC)
$
$ cat attributes_transformed_program0_preprocessed.c
struct a {
  unsigned b : 7;
};
__attribute__((optimize(3))) __attribute__((always_inline)) struct a c() {
  struct a d;
  return d;
}
void e() {
  for (;;)
c();
}
int main() {}
$
$ gcc-trunk -m32 -O0 -g3 attributes_transformed_program0_preprocessed.c
attributes_transformed_program0_preprocessed.c:4:70: warning: ‘always_inline’
function might not be inlinable [-Wattributes]
4 | __attribute__((optimize(3))) __attribute__((always_inline)) struct a
c() {
  |  ^
during RTL pass: final
attributes_transformed_program0_preprocessed.c: In function ‘e’:
attributes_transformed_program0_preprocessed.c:11:1: internal compiler error:
in decl_ultimate_origin, at dwarf2out.cc:4466
   11 | }
  | ^
0x71239e decl_ultimate_origin
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:4466
0x71239e decl_ultimate_origin
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:4454
0xbb0b17 process_scope_var
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:26452
0xbb0c2f decls_for_scope
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:26515
0xbd36c6 gen_inlined_subroutine_die
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:24964
0xbd36c6 gen_block_die
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:26419
0xbb0cea decls_for_scope
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:26544
0xbb14a2 gen_subprogram_die
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:24026
0xbcf88f gen_decl_die
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:26952
0xbd11f6 dwarf2out_decl
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:27530
0xbd1572 dwarf2out_function_decl
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/dwarf2out.cc:27545
0xc34e70 rest_of_handle_final
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/final.cc:4321
0xc34e70 execute
/tmp/tmp.JKF7BF3fiK-gcc-builder/gcc/gcc/final.cc:4363
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See  for instructions.

[Bug lto/104237] New: Emitted binary code changes when -g is enabled at -O1 -flto

2022-01-25 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237

Bug ID: 104237
   Summary: Emitted binary code changes when -g is enabled at -O1
-flto
   Product: gcc
   Version: 12.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This occurs when compiling attributes_transformed_program0_preprocessed.c, as
shown below.

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.scGtRTj8uf-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.1 20220125 (experimental) [master -gf4ee27d32] (GCC)
$ cat attributes_transformed_program0_preprocessed.c
# 6 ""
short a;
__attribute__((optimize(0))) int b();
__attribute__((always_inline)) signed char c();
int b() {
  char e = c();
  return a;
}
signed char c(f) {
  d();
# 7 "attributes_transformed_program0.c"
  int g;
# 6
  return f;
}
void d() {}
int main() {}
$ gcc-trunk -w -O1 -flto attributes_transformed_program0_preprocessed.c -o
a.out
$ objdump --disassemble --section=.text a.out > no_debug.txt
$ gcc-trunk -w -O1 -flto -g attributes_transformed_program0_preprocessed.c -o
a.out
$ objdump --disassemble --section=.text a.out > debug.txt
$ diff debug.txt no_debug.txt
18c18
<   401041: 48 c7 c7 1e 11 40 00mov$0x40111e,%rdi
---
>   401041: 48 c7 c7 1d 11 40 00mov$0x40111d,%rdi
88,91c88,91
<   40110d: 90  nop
<   40110e: 88 45 ffmov%al,-0x1(%rbp)
<   40: 0f b7 05 ec 0e 00 00movzwl 0xeec(%rip),%eax# 402004

<   401118: 98  cwtl
---
>   40110d: 88 45 ffmov%al,-0x1(%rbp)
>   401110: 0f b7 05 ed 0e 00 00movzwl 0xeed(%rip),%eax# 402004 
> 
>   401117: 98  cwtl
>   401118: 90  nop
93,95c93,94
<   40111a: 90  nop
<   40111b: 5d  pop%rbp
<   40111c: c3  retq
---
>   40111a: 5d  pop%rbp
>   40111b: c3  retq
97,98c96,97
< 0040111d :
<   40111d: c3  retq
---
> 0040111c :
>   40111c: c3  retq
100,105c99,104
< 0040111e :
<   40111e: b8 00 00 00 00  mov$0x0,%eax
<   401123: c3  retq
<   401124: 66 2e 0f 1f 84 00 00nopw   %cs:0x0(%rax,%rax,1)
<   40112b: 00 00 00
<   40112e: 66 90   xchg   %ax,%ax
---
> 0040111d :
>   40111d: b8 00 00 00 00  mov$0x0,%eax
>   401122: c3  retq
>   401123: 66 2e 0f 1f 84 00 00nopw   %cs:0x0(%rax,%rax,1)
>   40112a: 00 00 00
>   40112d: 0f 1f 00nopl   (%rax)

[Bug tree-optimization/100781] New: Emitted binary code changes when -g is enabled at -O2

2021-05-26 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100781

Bug ID: 100781
   Summary: Emitted binary code changes when -g is enabled at -O2
   Product: gcc
   Version: 12.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: tlwang at uwaterloo dot ca
  Target Milestone: ---

The .text section for the following program (transformed_program0.c) changes
after toggling the -g flag. 

$ cat transformed_program0.c
struct a {
  int b;
};
long c(short d, long e, struct a f) {
g:;
  int h = f.b <= e, i = d, n = h >= d;
  if (!n)
goto j;
  goto k;
j:;
  long l = 5;
  if (l)
goto m;
  d = 0;
m:
  if (d)
return f.b;
k:
  goto g;
}
int main() {}
$
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.tVhv2eaPzV-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210526 (experimental) [master revision
:21638bbbf:1fd76b24306ed4df4cf9e797d900699ed59ce7f7] (GCC)
$
$ gcc-trunk transformed_program0.c -O2 -w ; objdump --disassemble a.out >
"no-g.txt"
$ gcc-trunk transformed_program0.c -O2 -w -g; objdump --disassemble a.out >
"g.txt"
$ diff no-g.txt g.txt
108,111c108,111
<   401125: 89 f9   mov%edi,%ecx
<   401127: 0f bf ffmovswl %di,%edi
<   40112a: 49 39 f0cmp%rsi,%r8
<   40112d: 0f 9e c0setle  %al
---
>   401125: 0f bf ffmovswl %di,%edi
>   401128: 4c 39 c6cmp%r8,%rsi
>   40112b: 0f 9d c0setge  %al
>   40112e: 66 90   xchg   %ax,%ax
114,118c114,117
<   401134: 66 85 c9test   %cx,%cx
<   401137: 74 f7   je 401130 
<   401139: 4c 89 c0mov%r8,%rax
<   40113c: c3  retq
<   40113d: 0f 1f 00nopl   (%rax)
---
>   401134: 4c 89 c0mov%r8,%rax
>   401137: c3  retq
>   401138: 0f 1f 84 00 00 00 00nopl   0x0(%rax,%rax,1)
>   40113f: 00

[Bug tree-optimization/100349] [11/12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (under -O2 to -Os)

2021-05-12 Thread tlwang at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100349

Theodore Wang  changed:

   What|Removed |Added

 CC||tlwang at uwaterloo dot ca

--- Comment #3 from Theodore Wang  ---
A possible duplicate:

$ /home/cnsun/usr/bin/gcc-trunk -v
Using built-in specs.
COLLECT_GCC=/home/cnsun/usr/bin/gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.BriefQJ2R3-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210511 (experimental) [master revision
:61d4686bb:71d38ec80008afdbb9a059253407d80598b765c0] (GCC)

$ cat program3.c
int a;
void c() {
  char b;
d:
  for (;;) {
b = -16;
for (; b; b = ({
unsigned char e = b;
e + 1;
  }))
  for (;;) {
if (a)
  break;
unsigned f = b;
goto d;
  }
  }
}

$ /home/cnsun/usr/bin/gcc-trunk -O2 -c program3.c
during GIMPLE pass: evrp
program3.c: In function ‘c’:
program3.c:18:1: internal compiler error: Segmentation fault
   18 | }
  | ^
0xef6d63 crash_signal
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/toplev.c:327
0x12630f3 bounds_of_var_in_loop(tree_node**, tree_node**, range_query*, loop*,
gimple*, tree_node*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/vr-values.c:1658
0x191d98d gimple_ranger::range_of_ssa_name_with_loop_info(irange&, tree_node*,
loop*, gphi*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-range.cc:1229
0x191dd2b gimple_ranger::range_of_phi(irange&, gphi*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-range.cc:568
0x191e15d gimple_ranger::calc_stmt(irange&, gimple*, tree_node*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-range.cc:376
0x191e514 gimple_ranger::range_of_stmt(irange&, gimple*, tree_node*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-range.cc:1077
0x19192a2 gimple_ranger::range_of_expr(irange&, tree_node*, gimple*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-range.cc:960
0x120f8b4 range_query::value_of_expr(tree_node*, gimple*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/value-query.cc:86
0x192b125 hybrid_folder::value_of_expr(tree_node*, gimple*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-ssa-evrp.c:235
0x10ab78d substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/tree-ssa-propagate.c:776
0x18ed787 dom_walker::walk(basic_block_def*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/domwalk.c:309
0x10aad29 substitute_and_fold_engine::substitute_and_fold(basic_block_def*)
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/tree-ssa-propagate.c:987
0x192ad8e execute_early_vrp
/tmp/tmp.BriefQJ2R3-gcc-builder/gcc/gcc/gimple-ssa-evrp.c:349
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.