[Bug tree-optimization/56145] [4.8 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-02-08 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145



--- Comment #3 from Vincent  2013-02-08 18:29:28 UTC 
---

(In reply to comment #2)

> Is this with a cross-compiler or a native compiler?



Cross compiler.


[Bug tree-optimization/56145] [4.8 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-02-08 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145



--- Comment #4 from Vincent  2013-02-09 00:36:41 UTC 
---

Hi Richard,



The same also with native win-64bits build.

host=x86_64-w64-mingw32

build=x86_64-slackware-linux

target=x86_64-w64-mingw32





gcc version 4.8.0 20130208 (experimental)

[gcc trunk revision 195894]

(mingw-w64 trunk revision 5583)



x86_64-w64-mingw32-gcc -m64 -O2 -floop-parallelize-all -ffast-math  -c layer3.i

layer3.c: In function 'decode_layer3_sideinfo':

layer3.c:1613:1: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See  for instructions.


[Bug tree-optimization/56145] [4.8 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-03-02 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145



--- Comment #5 from Vincent  2013-03-03 05:00:12 UTC 
---

The problem started with (ppl changeover to isl) this revision

http://gcc.gnu.org/viewcvs?view=revision&revision=189156


[Bug tree-optimization/56539] [4.6/4.7/4.8 Regression] ICE: verify_ssa failed: caused by -foptimize-sibling-calls

2013-03-05 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56539



Vincent  changed:



   What|Removed |Added



 CC||vchou79 at gmail dot com



--- Comment #4 from Vincent  2013-03-05 21:14:04 UTC 
---

bash-4.1$ x86_64-w64-mingw32-gcc -O2 t.c

t.c: In function 'main':

t.c:9:5: internal compiler error: Segmentation fault

 int main()

 ^

0x71fa65 crash_signal

../../gcc-4_8-trunk/gcc/toplev.c:332

0x748617 ssa_default_def(function*, tree_node*)

../../gcc-4_8-trunk/gcc/tree-dfa.c:310

0x748688 get_or_create_ssa_default_def(function*, tree_node*)

../../gcc-4_8-trunk/gcc/tree-dfa.c:362

0x760f7c get_reaching_def

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:1155

0x76364b maybe_replace_use

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:1772

0x76364b rewrite_update_stmt

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:1955

0x76364b rewrite_update_enter_block

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:2124

0xab5380 walk_dominator_tree(dom_walk_data*, basic_block_def*)

../../gcc-4_8-trunk/gcc/domwalk.c:187

0x761183 rewrite_blocks

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:2204

0x7669bc update_ssa(unsigned int)

../../gcc-4_8-trunk/gcc/tree-into-ssa.c:3283

0xb371a4 tree_unroll_loops_completely(bool, bool)

../../gcc-4_8-trunk/gcc/tree-ssa-loop-ivcanon.c:1175

0x7d4c92 tree_complete_unroll_inner

../../gcc-4_8-trunk/gcc/tree-ssa-loop.c:511

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.



gcc version 4.8.0 20130305 (experimental) [gcc-4_8-trunk revision 196448]


[Bug tree-optimization/56539] [4.6/4.7/4.8 Regression] ICE: verify_ssa failed: caused by -foptimize-sibling-calls

2013-03-06 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56539



--- Comment #8 from Vincent  2013-03-06 21:20:29 UTC 
---

Jakub,

The patch also fixed this problem testcase on cross compiler

(x86_64-w64-mingw32).


[Bug middle-end/56559] [4.8 Regression] ICE in propagate_op_to_single_use, at tree-ssa-reassoc.c:1057

2013-03-06 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56559



Vincent  changed:



   What|Removed |Added



 CC||vchou79 at gmail dot com



--- Comment #1 from Vincent  2013-03-07 05:48:55 UTC 
---

bash-4.1$ x86_64-w64-mingw32-gcc  -ffast-math  -O1 -c gga_k_dk.i

In file included from ../../../../libxc/src/gga_k_dk.c:158:0:

../../../../libxc/src/work_gga_x.c: In function 'work_gga_k':

../../../../libxc/src/work_gga_x.c:36:1: internal compiler error: in

propagate_op_to_single_use, at tree-ssa-reassoc.c:1057

0x7f65d2 propagate_op_to_single_use

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:1057

0x7f7ae7 undistribute_ops_list

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:1418

0x7fa8b8 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4079

0x7fab07 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4150

0x7fab07 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4150

0x7fab07 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4150

0x7fab07 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4150

0x7fab07 reassociate_bb

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4150

0x7fbf19 do_reassoc

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4183

0x7fbf19 execute_reassoc

../../gcc-4_8-trunk/gcc/tree-ssa-reassoc.c:4265

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.


[Bug c/56798] New: ICE in patch_jump_insn, at cfgrtl.c:1238

2013-03-31 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56798



 Bug #: 56798

   Summary: ICE in patch_jump_insn, at cfgrtl.c:1238

Classification: Unclassified

   Product: gcc

   Version: 4.9.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: c

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: vcho...@gmail.com





bash-4.1$ /home/slave/build/gcc/bld_gcc/./gcc/xgcc -shared-libgcc

-B/home/slave/build/gcc/bld_gcc/./gcc -nostdinc++

-L/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/src

-L/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/src/.libs

-L/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/lib

-L/home/slave/local/xmingw-4_9-trunk-w64-seh/mingw/lib -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/include -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/mingw/include

-B/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/bin/

-B/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/lib/ -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/include -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/sys-include -m32

-I/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/../libgcc

-I/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/x86_64-w64-mingw32

-I/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include

-I/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/libsupc++

-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi

-fdiagnostics-show-location=once -ffunction-sections -fdata-sections

-frandom-seed=complex_io.lo -g -O2 -m32 -fno-function-sections

-fno-data-sections -c

/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/src/c++98/complex_io.cc -o

complex_io.o

In file included from

/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/src/c++98/complex_io.cc:25:0:

/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/complex:

In function 'std::basic_ostream<_CharT, _Traits>&

std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)

[with _Tp = float; _CharT = char; _Traits = std::char_traits]':

/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/complex:532:5:

internal compiler error: in patch_jump_insn, at cfgrtl.c:1238

 }

 ^

0x590a63 patch_jump_insn

../../gcc-4_9-trunk/gcc/cfgrtl.c:1238

0x590bb2 redirect_branch_edge

../../gcc-4_9-trunk/gcc/cfgrtl.c:1271

0x594542 cfg_layout_redirect_edge_and_branch

../../gcc-4_9-trunk/gcc/cfgrtl.c:3901

0x583809 redirect_edge_and_branch(edge_def*, basic_block_def*)

../../gcc-4_9-trunk/gcc/cfghooks.c:349

0xb4f56d try_forward_edges

../../gcc-4_9-trunk/gcc/cfgcleanup.c:585

0xb4f56d try_optimize_cfg

../../gcc-4_9-trunk/gcc/cfgcleanup.c:2775

0xb50a94 cleanup_cfg(int)

../../gcc-4_9-trunk/gcc/cfgcleanup.c:2976

0xbb657a rest_of_handle_if_conversion

../../gcc-4_9-trunk/gcc/ifcvt.c:4455

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See  for instructions.


[Bug c/56798] ICE in patch_jump_insn, at cfgrtl.c:1238

2013-03-31 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56798



--- Comment #1 from Vincent  2013-04-01 00:35:55 UTC 
---

Created attachment 29763

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29763

preprocessed sources


[Bug c/56798] ICE in patch_jump_insn, at cfgrtl.c:1238

2013-03-31 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56798



--- Comment #2 from Vincent  2013-04-01 03:18:17 UTC 
---

started with http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=197266


[Bug c/56798] ICE in patch_jump_insn, at cfgrtl.c:1238

2013-03-31 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56798



--- Comment #3 from Vincent  2013-04-01 03:54:17 UTC 
---

Started with http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=197234



bash-4.1$ /home/slave/build/gcc/bld_gcc/./gcc/xgcc -shared-libgcc

-B/home/slave/build/gcc/bld_gcc/./gcc -nostdinc++

-L/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/src

-L/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/src/.libs

-L/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/lib

-L/home/slave/local/xmingw-4_9-trunk-w64-seh/mingw/lib -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/include -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/mingw/include

-B/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/bin/

-B/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/lib/ -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/include -isystem

/home/slave/local/xmingw-4_9-trunk-w64-seh/x86_64-w64-mingw32/sys-include -m32

-I/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/../libgcc

-I/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/x86_64-w64-mingw32

-I/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include

-I/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/libsupc++

-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi

-fdiagnostics-show-location=once -ffunction-sections -fdata-sections

-frandom-seed=complex_io.lo -g -O2 -m32 -fno-function-sections

-fno-data-sections -c

/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/src/c++98/complex_io.cc -o

complex_io.o

In file included from

/home/slave/build/gcc/gcc-4_9-trunk/libstdc++-v3/src/c++98/complex_io.cc:25:0:

/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/complex:

In function 'std::basic_ostream<_CharT, _Traits>&

std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)

[with _Tp = float; _CharT = char; _Traits = std::char_traits]':

/home/slave/build/gcc/bld_gcc/x86_64-w64-mingw32/32/libstdc++-v3/include/complex:532:5:

internal compiler error: in make_edges, at cfgbuild.c:312

 }

 ^

0xb4bda0 make_edges

../../gcc-4_9-trunk/gcc/cfgbuild.c:312

0xb4bda0 find_many_sub_basic_blocks(simple_bitmap_def*)

../../gcc-4_9-trunk/gcc/cfgbuild.c:619

0x58f6ab break_superblocks()

../../gcc-4_9-trunk/gcc/cfgrtl.c:3781

0x612e00 finish_eh_generation()

../../gcc-4_9-trunk/gcc/except.c:1454

0x582586 gimple_expand_cfg

../../gcc-4_9-trunk/gcc/cfgexpand.c:4773

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See  for instructions.


[Bug lto/56804] New: lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-01 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



 Bug #: 56804

   Summary: lto1: internal compiler error: bytecode stream: found

non-null terminated string

Classification: Unclassified

   Product: gcc

   Version: 4.9.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: lto

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: vcho...@gmail.com





bash-4.1$ x86_64-w64-mingw32-gcc -I. -flto -c -save-temps -o lto-bug.o

lto-bug.c 

lto-bug.c: In function 'check_vpx_codec_dec_init_ver':

lto-bug.c:3:50: warning: cast from pointer to integer of different size

[-Wpointer-to-int-cast]

 long check_vpx_codec_dec_init_ver(void) { return (long)

vpx_codec_dec_init_ver; }

  ^

bash-4.1$ x86_64-w64-mingw32-gcc -L. -flto -save-temps -o lto-bug.exe lto-bug.o

-lvpx

lto1: internal compiler error: bytecode stream: found non-null terminated

string

0xa58590 bp_unpack_string(data_in*, bitpack_d*)

../../gcc-4_9-trunk/gcc/data-streamer-in.c:112

0x7da427 unpack_ts_translation_unit_decl_value_fields

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:383

0x7da427 unpack_value_fields

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:465

0x7dafcd streamer_read_tree_bitfields(lto_input_block*, data_in*, tree_node*)

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:510

0x5feb03 lto_read_tree

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1012

0x5feb03 lto_input_tree(lto_input_block*, data_in*)

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082

0x7d8344 lto_input_ts_decl_minimal_tree_pointers

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:641

0x7d8344 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:981

0x5feb11 lto_read_tree

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015

0x5feb11 lto_input_tree(lto_input_block*, data_in*)

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082

0x7d84ee lto_input_ts_type_common_tree_pointers

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:765

0x7d84ee streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:999

0x5feb11 lto_read_tree

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015

0x5feb11 lto_input_tree(lto_input_block*, data_in*)

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082

0x7d7f19 lto_input_ts_common_tree_pointers

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:601

0x7d7f19 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)

../../gcc-4_9-trunk/gcc/tree-streamer-in.c:972

0x5feb11 lto_read_tree

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015

0x5feb11 lto_input_tree(lto_input_block*, data_in*)

../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082

0x41f69f lto_read_decls

../../gcc-4_9-trunk/gcc/lto/lto.c:2086

0x41f69f lto_file_finalize

../../gcc-4_9-trunk/gcc/lto/lto.c:2339

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See  for instructions.

lto-wrapper: x86_64-w64-mingw32-gcc returned 1 exit status

[Leaving LTRANS lto-bug.exe.ltrans.out]

[Leaving LTRANS /tmp/cc2HMJtw.args]

/home/slave/local/xmingw-4_9-trunk-w64-seh/lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld:

lto-wrapper failed

collect2: error: ld returned 1 exit status

bash-4.1$ cat lto-bug.c

#include 

#include 

long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver;

}

int main(void) { return 0; }


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-01 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #1 from Vincent  2013-04-01 22:21:14 UTC 
---

Created attachment 29770

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29770

preprocessed sources


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-01 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #2 from Vincent  2013-04-01 23:17:55 UTC 
---

introduced by http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=196864


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-02 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #4 from Vincent  2013-04-02 09:45:29 UTC 
---

After rebuild all LTO objects the same happened.


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-02 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #6 from Vincent  2013-04-02 23:48:41 UTC 
---

bash-4.1$ cat test.res 

3

test.o 4

459 b27d8a298c16d07e PREVAILING_DEF_IRONLY_EXP check_vpx_codec_dec_init_ver

475 b27d8a298c16d07e PREVAILING_DEF_IRONLY_EXP main

463 b27d8a298c16d07e RESOLVED_IR vpx_codec_dec_init_ver

478 b27d8a298c16d07e RESOLVED_IR vpx_codec_control_

./libvpx.a@0x5b54 10

887 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_dec_init_ver

907 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_peek_stream_info

919 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_get_stream_info

927 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_decode

942 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_get_frame

951 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_register_put_frame_cb

962 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_register_put_slice_cb

972 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_get_mem_map

983 aa0ed57284137d70 PREVAILING_DEF_IRONLY_EXP vpx_codec_set_mem_map

994 aa0ed57284137d70 RESOLVED_IR vpx_codec_destroy

./libvpx.a@0x11d60 10

873 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_version

877 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_version_str

881 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_version_extra_str

884 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_iface_name

890 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_err_to_string

900 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_error

907 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_error_detail

911 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_destroy

917 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_get_caps

923 3ff73b4c7c71e571 PREVAILING_DEF_IRONLY_EXP vpx_codec_control_





bash-4.1$ nm test.o

 b .bss

 d .data

 r .gnu.lto_.decls.b27d8a298c16d07e

 r .gnu.lto_.inline.b27d8a298c16d07e

 r .gnu.lto_.opts

 r .gnu.lto_.refs.b27d8a298c16d07e

 r .gnu.lto_.symbol_nodes.b27d8a298c16d07e

 r .gnu.lto_.symtab.b27d8a298c16d07e

 r .gnu.lto_check_vpx_codec_dec_init_ver.b27d8a298c16d07e

 r .gnu.lto_main.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8D_GET_FRAME_CORRUPTED.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8D_GET_LAST_REF_UPDATES.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8D_GET_LAST_REF_USED.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_COPY_REFERENCE.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_SET_DBG_COLOR_B_MODES.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_SET_DBG_COLOR_MB_MODES.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_SET_DBG_COLOR_REF_FRAME.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_SET_DBG_DISPLAY_MV.b27d8a298c16d07e

 r .gnu.lto_vpx_codec_control_VP8_SET_POSTPROC.b27d8a298c16d07e

 r

.gnu.lto_vpx_codec_control_VP8_SET_REFERENCE.b27d8a298c16d07e

 p .pdata

 r .rdata$zzz

 t .text

 r .xdata

0001 C __gnu_lto_v1

 U __main

01c8 T check_vpx_codec_dec_init_ver

01d5 T main

 U vpx_codec_control_

016c t vpx_codec_control_VP8D_GET_FRAME_CORRUPTED

013e t vpx_codec_control_VP8D_GET_LAST_REF_UPDATES

019a t vpx_codec_control_VP8D_GET_LAST_REF_USED

002e t vpx_codec_control_VP8_COPY_REFERENCE

00e4 t vpx_codec_control_VP8_SET_DBG_COLOR_B_MODES

00b7 t vpx_codec_control_VP8_SET_DBG_COLOR_MB_MODES

008a t vpx_codec_control_VP8_SET_DBG_COLOR_REF_FRAME

0111 t vpx_codec_control_VP8_SET_DBG_DISPLAY_MV

005c t vpx_codec_control_VP8_SET_POSTPROC

 t vpx_codec_control_VP8_SET_REFERENCE

 U vpx_codec_dec_init_ver


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-03 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #8 from Vincent  2013-04-03 10:55:02 UTC 
---

(In reply to comment #7)

> (In reply to comment #6)

> > bash-4.1$ cat test.res 

> > 3

> > test.o 4

> > 459 b27d8a298c16d07e PREVAILING_DEF_IRONLY_EXP check_vpx_codec_dec_init_ver

> > 475 b27d8a298c16d07e PREVAILING_DEF_IRONLY_EXP main

> > 463 b27d8a298c16d07e RESOLVED_IR vpx_codec_dec_init_ver

> > 478 b27d8a298c16d07e RESOLVED_IR vpx_codec_control_

> > ./libvpx.a@0x5b54 10

> 

> Thus libvpx.a contains objects with LTO bytecode.  Please make sure

> to re-build those as well.

> 

Those are rebuilt, tested more 3 times, but issue persists, the changes to

back-end @r196864 caused it.

The preprocessed sources alone isn't adequate to trigger this bug.

libvpx.a is required, do you need this archive ?



[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-03 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



--- Comment #9 from Vincent  2013-04-03 11:10:21 UTC 
---

Created attachment 29790

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29790

LICENSE for preprocessed sources.


[Bug lto/56804] lto1: internal compiler error: bytecode stream: found non-null terminated string

2013-04-03 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56804



Vincent  changed:



   What|Removed |Added



 Status|WAITING |RESOLVED

 Resolution||WORKSFORME



--- Comment #11 from Vincent  2013-04-03 17:20:22 UTC 
---

You're 100% correct.

It wasn't rebuilt properly because of ccache was enabled previously.

Closing bug as "works for me".

Thanks


[Bug tree-optimization/56145] New: [4.8.0 ICE] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-01-29 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145



 Bug #: 56145

   Summary: [4.8.0 ICE] Use of too much optimizations -O2

-ffast-math -floop-parallelize-all

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: tree-optimization

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: vcho...@gmail.com





Created attachment 29304

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29304

preprocessed source



When compiling the following source code from this url.

http://waix.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz



gcc produced ice, when the particular combination of optimization flags are

used. -m32 -m64 made no difference. When adding -fwrapv to the command line it

stops gcc from produce the ice.



gcc version 4.8.0 20130129 (experimental)

[gcc trunk revision 195526]

(mingw-w64 trunk revision 5568) 



x86_64-w64-mingw32-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I../include

-I../libmp3lame -O1 -ffast-math -floop-parallelize-all -c layer3.c -o layer3.o



Compiled OK...



x86_64-w64-mingw32-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I../include

-I../libmp3lame -O2 -ffast-math -floop-parallelize-all -c layer3.c -o layer3.o

layer3.c: In function 'decode_layer3_sideinfo':

layer3.c:1613:1: internal compiler error: Segmentation fault

 decode_layer3_sideinfo(PMPSTR mp)

 ^

0x71f295 crash_signal

../../gcc-4_8-trunk/gcc/toplev.c:332

0xac6017 subtract_commutative_associative_deps

../../gcc-4_8-trunk/gcc/graphite-dependences.c:422

0xac6017 compute_deps(scop*, vec, isl_union_map**,

isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**,

isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**,

isl_union_map**, isl_union_map**, isl_union_map**)

../../gcc-4_8-trunk/gcc/graphite-dependences.c:494

0xac665a loop_level_carries_dependences

../../gcc-4_8-trunk/gcc/graphite-dependences.c:558

0xac665a loop_is_parallel_p(loop*, htab*, int)

../../gcc-4_8-trunk/gcc/graphite-dependences.c:591

0xac4eda translate_clast_for_loop

../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1173

0xac4eda translate_clast_for

../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1197

0xac4eda translate_clast

../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1280

0xac54b4 gloog(scop*, htab*)

../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1680

0xac29c4 graphite_transform_loops()

../../gcc-4_8-trunk/gcc/graphite.c:288

0x7d3726 graphite_transforms

../../gcc-4_8-trunk/gcc/tree-ssa-loop.c:258

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See  for instructions.



Hopefully somebody could be able to narrow this down and produce a reduced test

case.



Thank you.


[Bug tree-optimization/56145] [4.8.0 ICE] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-01-31 Thread vchou79 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145



--- Comment #1 from Vincent  2013-01-31 13:40:36 UTC 
---

x86_64-w64-mingw32-gcc -Os -ffast-math -floop-parallelize-all -I. -std=gnu99 -c

-o common/predict.o common/predict.c

common/predict.c: In function 'x264_predict_16x16_dc_c':

common/predict.c:58:6: internal compiler error: Segmentation fault

 void x264_predict_16x16_dc_c( pixel *src )



Just another example same error.


[Bug tree-optimization/56145] [4.9 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2016-08-03 Thread vchou79 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145

--- Comment #20 from Vincent  ---
Awesome, thanks so much for fixing it.