[Bug c/69661] New: missing -Wsequence-point warning

2016-02-03 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code has a sequence point violation, but gcc does not emit a warning. $: cat small.c int a, b; short c; void fn1(int p) {} void fn2() { fn1(a == (c &= a = b)); } $: $:

[Bug rtl-optimization/69764] New: ICE on x86_64-linux-gnu at -O0 (in decompose, at rtl.h:2107)

2016-02-11 Thread chengniansun at gmail dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk in both 32-bit and 64-bit modes. gcc-5.1 is fine with the code. $: gcc-trunk -v Using

[Bug c/69771] New: ICE on x86_64-linux-gnu at -O0 (in extract_insn, at recog.c:2287)

2016-02-11 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the gcc trunk in both 32-bit and 64-bit modes at -O0 on x86_64-linux-gnu. $: gcc-trunk -v Using built-in

[Bug c/69936] New: ICE on x86_64-linux-gnu at -Os and above in both 32-bit and 64-bit modes (internal compiler error: cannot update SSA form)

2016-02-24 Thread chengniansun at gmail dot com
Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk at -Os and above in

[Bug tree-optimization/69989] New: ICE on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (in verify_loop_structure, at cfgloop.c:1639)

2016-02-27 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk on x86_64-linux-gnu

[Bug tree-optimization/69989] [6 Regression] ICE on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (in verify_loop_structure, at cfgloop.c:1639)

2016-02-27 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69989 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/69068] [6 Regression] ICE in bb_contains_loop_phi_nodes, at graphite-isl-ast-to-gimple.c:1279

2016-02-29 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69068 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug web/70127] New: wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-07 Thread chengniansun at gmail dot com
Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code is miscompiled by the trunk, gcc-4.7 and gcc-4.8 at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

[Bug tree-optimization/69951] wrong code at -O1 and above on x86_64-linux-gnu

2016-03-13 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69951 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/69951] wrong code at -O1 and above on x86_64-linux-gnu

2016-03-14 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69951 --- Comment #7 from Chengnian Sun --- (In reply to Richard Biener from comment #6) > Seems I typoed the PR reference in the commit: > > Author: rguenth > Date: Fri Feb 26 08:34:58 2016 > New Revision: 233734 > > URL: https://gcc.gnu.org/viewcvs

[Bug c/70306] New: wrong code at -O2 and -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu [related to __attribute__((destructor)) and __attribute__((constructor))]

2016-03-19 Thread chengniansun at gmail dot com
((constructor))] Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following

[Bug c/70264] New: ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

2016-03-19 Thread chengniansun at gmail dot com
Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc

[Bug c/70309] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-03-19 Thread chengniansun at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code is miscompiled by the trunk at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu. This bug

[Bug c/70309] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-03-19 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70309 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/70263] New: ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)

2016-03-19 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk of gcc at -O1 and above in both 32-bit and 64-bit modes

[Bug c/70302] New: crash on valid code at -O2 and -O3 in 32-bit mode on x86_64-linux-gnu (in convert_op, at config/i386/i386.c:3414)

2016-03-19 Thread chengniansun at gmail dot com
: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk at -O2 and -O3 in 32-bit mode

[Bug target/69773] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "assign_by_spills"

2016-03-23 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69773 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug rtl-optimization/70396] New: ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606)

2016-03-24 Thread chengniansun at gmail dot com
: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk at -O3 in 32

[Bug tree-optimization/70586] New: wrong code at -O2 and -O3 on x86_64-linux-gnu in 32-bit and 64-bit modes

2016-04-07 Thread chengniansun at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code is miscompiled by the trunk at -O2 and -O3 on x86_64-linux-gnu in 32-bit and 64-bit modes

[Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351

2016-05-10 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70964 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize

2016-05-11 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71006 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize

2016-05-12 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71006 --- Comment #6 from Chengnian Sun --- (In reply to Ilya Enkovich from comment #4) > (In reply to Chengnian Sun from comment #3) > > Hi, > > > > Can you help check whether the following test case is a duplicate? Thanks. > > This is definitely

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-05-18 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/71206] New: ICE on valid code at all optimization levels in both 32-bit and 64-bit modes on x86_64-linux-gnu. (verify_gimple failed)

2016-05-19 Thread chengniansun at gmail dot com
Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk at all

[Bug tree-optimization/71263] New: ICE at -O1 and above in 32-bit and 64-bit mode on x86_64-linux-gnu (in zero_one_operation)

2016-05-24 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc

[Bug tree-optimization/71335] New: wrong code at -O2 and -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu

2016-05-29 Thread chengniansun at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc

[Bug tree-optimization/71341] New: ICE at -O2 and -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (Segmentation fault, duplicate_thread_path)

2016-05-30 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk at -O2 and -O3 in 32

[Bug tree-optimization/71359] New: ICE at -Os and above in 32-bit and 64-bit modes on x86_64-linux-gnu (Segmentation fault, vec_safe_length)

2016-05-31 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug tree-optimization/71328] [7 Regression] ice in verify_jump_thread

2016-06-01 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71328 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/71398] New: ICE at -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu (Segmentation fault, find_edge)

2016-06-03 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc

[Bug tree-optimization/71407] New: ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple: integral result type precision does not match field size of BIT_FIELD_REF)

2016-06-03 Thread chengniansun at gmail dot com
) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v

[Bug tree-optimization/71407] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple: integral result type precision does not match field size of BIT_FIELD_REF)

2016-06-04 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71407 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug tree-optimization/71416] New: ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (vectorizable_live_operation)

2016-06-04 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $: gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc

[Bug tree-optimization/71439] New: wrong code at -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu

2016-06-06 Thread chengniansun at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code is miscompiled by the trunk at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu. $: gcc-trunk

[Bug tree-optimization/71416] [7 Regression] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (vectorizable_live_operation)

2016-06-11 Thread chengniansun at gmail dot com
||chengniansun at gmail dot com Resolution|DUPLICATE |--- --- Comment #7 from Chengnian Sun --- As Qirun said, this bug has not been fixed yet.

[Bug c/71573] New: ICE on invalid C code on x86_64-linux-gnu (tree check: expected function_decl, have var_decl in implicitly_declare)

2016-06-17 Thread chengniansun at gmail dot com
: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following code crashes the trunk on on x86_64-linux-gnu in both

[Bug c/81571] New: ICE at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes (internal compiler error: in as_a, at is-a.h:192)

2017-07-26 Thread chengniansun at gmail dot com
: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug c/81620] New: ICE on valid code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (small.c:3:5: internal compiler error: in is_inv_store_elimination_chain, at tree-predcom.c:1651)

2017-07-30 Thread chengniansun at gmail dot com
tree-predcom.c:1651) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target

[Bug c/81740] New: wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-08-06 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux

[Bug c/82052] New: ICE with "-O3 -m32" on x86_64-linux-gnu (internal compiler error: in pop_to_marker, at tree-ssa-scopedtables.c:71)

2017-08-31 Thread chengniansun at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- Sorry about the large test program. I have tried ever

[Bug c/82078] New: wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-01 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu

[Bug c/80549] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (executable does not terminate)

2017-04-27 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug bootstrap/80565] New: ICE at -O2 and -O3 in 32-bit mode (not 64-bit) on x86_64-linux-gnu (in edge_badness, at ipa-inline.c:1028)

2017-04-29 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug c/80622] New: wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-03 Thread chengniansun at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc

[Bug c/80764] New: ICE at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in verify_loop_structure, at cfgloop.c:1644)

2017-05-15 Thread chengniansun at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c/80898] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-27 Thread chengniansun at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc

[Bug c/80900] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-27 Thread chengniansun at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com CC: chengniansun at gmail dot com Target Milestone: --- Status: RESOLVED CC: chengniansun at gmail dot

[Bug c/78482] New: wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-11-22 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu

[Bug c/78510] New: ice on invalid C code at -O2 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: verify_gimple failed)

2016-11-24 Thread chengniansun at gmail dot com
: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c/78527] New: ice on valid C code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in smallest_mode_for_size, at stor-layout.c:364)

2016-11-25 Thread chengniansun at gmail dot com
) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in

[Bug c/78548] New: ice on valid C code on x86_64-linux-gnu at -O2 and -O3 in 64-bit mode with -Wall (*** Error in `/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/cc1': double free or corru

2016-11-27 Thread chengniansun at gmail dot com
c dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- The following program crashes gcc in the 64-bit mode, but causes gcc to hang in the 32-bit mode. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_

[Bug c/78574] New: ice on valid C code at -O2 and -O3 in both 32- and 64-bit modes on x86_64-linux-gnu (internal compiler error: Segmentation fault (program cc1))

2016-11-28 Thread chengniansun at gmail dot com
)) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c/78583] New: ICE on valid C code at -O3 on x86_64-linux-gnu (internal compiler error: in simplify_truncation)

2016-11-29 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk

[Bug c++/78637] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in pop_namespace, at cp/name-lookup.c:3826)

2016-12-01 Thread chengniansun at gmail dot com
: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug c++/78645] New: ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, cxx_eval_call_expression)

2016-12-02 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec

[Bug c++/78647] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.c:664)

2016-12-02 Thread chengniansun at gmail dot com
) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using

[Bug c++/78648] New: ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, contains_struct_check)

2016-12-02 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc

[Bug c++/78649] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor, at cp/init.c:3

2016-12-02 Thread chengniansun at gmail dot com
build_value_init_noctor, at cp/init.c:380) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com

[Bug c++/78765] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2016-12-10 Thread chengniansun at gmail dot com
: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug c/79740] New: ICE on -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 })

2017-02-27 Thread chengniansun at gmail dot com
}) Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c/77624] New: ICE on x86_64-linux-gnu (internal compiler error: in fold_builtin_atomic_always_lock_free, at builtins.c:5583)

2016-09-16 Thread chengniansun at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- This is a regression. gcc-4.9 does not ICE. $ gcc-trunk -v Using built

[Bug c++/77626] New: ICE with -Wall on x86_64-linux-gnu (internal compiler error: Segmentation fault, byte_from_pos, cxx_fold_indirect_ref)

2016-09-17 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ g++-trunk -v Using built-in specs. COLLECT_GCC=g++-trunk

[Bug c++/77637] New: ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2016-09-18 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ g++-trunk -v Using built-in specs. COLLECT_GCC=g++-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc

[Bug c++/77638] New: ICE on x86_64-linux-gnu (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in cp_parser_template_declaration_after_parame

2016-09-18 Thread chengniansun at gmail dot com
Reporter: chengniansun at gmail dot com Target Milestone: --- $ g++-trunk -v Using built-in specs. COLLECT_GCC=g++-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable

[Bug c++/77639] New: ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-18 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ g++-trunk -v Using built-in specs. COLLECT_GCC=g

[Bug c++/77655] New: ICE on invalid c++ code on x86_64-linux-gnu (internal compiler error: Segmentation fault (program cc1plus))

2016-09-19 Thread chengniansun at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc

[Bug tree-optimization/77677] New: ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-21 Thread chengniansun at gmail dot com
: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- If I add "int" i

[Bug c++/77752] New: ICE on C++ code on x86_64-linux-gnu (internal compiler error: Segmentation fault, build_list_conv, implicit_conversion)

2016-09-27 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk

[Bug c/77766] New: wrong code at -O2 and -O3 in 64-bit mode on x86_64-linux-gnu (executable hangs)

2016-09-27 Thread chengniansun at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc

[Bug tree-optimization/77778] New: ICE at -Os and above on x86_64-linux-gnu in both 32-bit and 64-bit modes (Segmentation fault, visit_reference_op_store, extract_and_process_scc_for_name)

2016-09-28 Thread chengniansun at gmail dot com
, extract_and_process_scc_for_name) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone

[Bug c++/77905] New: ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)

2016-10-08 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c++/77906] New: ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)

2016-10-08 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c++/77906] ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)

2016-10-08 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77906 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com

[Bug c++/78341] New: crash on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_parser_std_attribute_spec, at cp/parser.c:24597)

2016-11-13 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc

[Bug c++/78344] New: ice on invalid c++ code on x86_64-linux-gnu (internal compiler error: tree check: expected tree_list, have error_mark in cp_check_const_attributes, at cp/decl2.c:1347)

2016-11-13 Thread chengniansun at gmail dot com
cp/decl2.c:1347) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone

[Bug c++/78345] New: ice on invalid c++ code on x86_64-linux-gnu (internal compiler error: in cxx_eval_outermost_constant_expr, at cp/constexpr.c:4464)

2016-11-14 Thread chengniansun at gmail dot com
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC

[Bug c/78429] New: ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-20 Thread chengniansun at gmail dot com
) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs

[Bug c/65423] New: No warning on always-true/false predicates containing bitwise operations

2015-03-14 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com The condition "(a & 9) == 4" is always false, and it will be great if Gcc can emit a warning on this. $: cat bitwise.c int f(int a)

[Bug c/65430] New: false negative of -Wsequence-point

2015-03-14 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com There is no warning on the expression on line 3, which has a sequence-point issue. Either "a=3" or "a=0" could be executed first. Moreover, it is odd that gcc does not warn that the value

[Bug c++/65623] New: Incorrect location of error messages on calling copy constructor of unique_ptr

2015-03-29 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com When I was compiling a large class file, gcc emit an error that I called the copy constructor of unique_ptr. It took me a while to figure out

[Bug c/59801] New: GCC does not warn on unused global variable

2014-01-14 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Created attachment 31829 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31829&action=edit the test case to trigger the bug. I used the following command $gcc -Wall -Wextra -pedantic -std

[Bug c/59801] GCC does not warn on unused global variable

2014-01-14 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59801 --- Comment #2 from Chengnian Sun --- Thanks for your reply. One more question regarding this issue. Support I have a closed program static volatile int a; int main() {return 0;} Even though "a" is not read anywhere in this program, do you mean

[Bug c/59846] New: Imprecise column number for -Wtype-limits

2014-01-16 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com GCC outputs a wrong column number of a type-limit (comparison between 0 and unsigned) warning. $ gcc-trunk -Wall -Wextra -c -std=c11 -pedantic s.c s.c: In function ‘fn1’: s.c:33:3: warning: comparison

[Bug c/59870] New: Gcc should warn conversion from "const char*" to "char*"

2014-01-17 Thread chengniansun at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com I think Gcc should warn the conversion from a const char* to a char* (i.e., assigning a string literal to a pointer of type "char *"). The

[Bug c/59871] New: No unused value warning for comma expression

2014-01-17 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com I have a return statement with a comma expression -- "return fn2(), 1, 0;". Gcc should warn that the "1" in the middle is not used as it does not have any side effect. The follo

[Bug c/59870] Gcc should warn conversion from "const char*" to "char*" for string literals

2014-01-18 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59870 --- Comment #4 from Chengnian Sun --- Thanks for your clarification, Harald, Jakub and Andrew. I realize that the options "-Wall -Wextra" do not enable all the warnings. Is there a flag in GCC which enables all the available warning types, simil

[Bug c/59870] Gcc should warn conversion from "const char*" to "char*" for string literals

2014-01-18 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59870 --- Comment #6 from Chengnian Sun --- (In reply to Harald van Dijk from comment #2) > The type of a string literal in C is char[N], unlike in C++ where it is > const char[N]. clang's -Weverything option enables -Wwrite-strings, which > changes the

[Bug c/59939] New: No warning on signedness changes caused by implicit conversion

2014-01-24 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com There is no warning on signedness changes by implicit conversion, which occur in dead code due to short-circuit of "or". See the following. If I change &

[Bug c/59939] No warning on signedness changes caused by implicit conversion

2014-01-24 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59939 --- Comment #3 from Chengnian Sun --- (In reply to Andrew Pinski from comment #1) > IIRC this was done so that code which uses macros and have conditional code > like: > > MACRO1 || fn1(a, b) Sorry, I do not understand. Can you elaborate more? W

[Bug c/59939] No warning on signedness changes caused by implicit conversion

2014-01-24 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59939 --- Comment #5 from Chengnian Sun --- (In reply to Andrew Pinski from comment #4) > (In reply to Chengnian Sun from comment #3) > > (In reply to Andrew Pinski from comment #1) > > > IIRC this was done so that code which uses macros and have condit

[Bug c/59940] New: Imprecise column number for -Wconversion

2014-01-24 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com The column numbers of conversion warnings are not precise. $: cat s.c int f(unsigned i); int g(int i) { return f(i) + f(i) + f(i); } $: gcc-trunk -c -Wconversion s.c s.c: In

[Bug c/59953] New: Improve the warning message for unsigned_expression >= 0UL

2014-01-27 Thread chengniansun at gmail dot com
ent Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com -Wtype-limits emits different messages for "unsigned_expression >= 0" and "unsigned_expression >= 0UL". It would be nice if you

[Bug c/59963] New: Wrong column number for warning -Woverflow

2014-01-27 Thread chengniansun at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Gcc emits constant overflow warnings with incorrect column numbers. The column always starts from the beginning of the statement or expression in which overflow occurs. $: cat imprecise-column-no

[Bug c/59972] New: -Wunused-value emits inconsistent warnings for unused computed values

2014-01-28 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Gcc does not emit an unused-value warning for "fn2() ^ 0;", but emits a warning if this expression is in a comma expression, e.g. "fn2() ^

[Bug c/59976] New: Spurious warning on converting const int variable to unsigned long

2014-01-28 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com I define a static global variable "g" of type "const int", with a value 0. When assigning it to a variable of type unsigned long, Gcc em

[Bug c/60018] New: Bogus conversion warning with optimization flag -O1

2014-01-31 Thread chengniansun at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com The -Wconversion should not be affected by the optimization flags. For the following code, Gcc emits no warning with flag -O0, but one conversion warning with flag -O1. $: cat s.c extern

[Bug c/60021] New: Inconsistent -Wsign-compare warnings for -O0 and -O1

2014-02-01 Thread chengniansun at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Gcc emits a -Wsign-compare warning for the following test case with the optimization flag -O0, but no warning with -O1. $: cat s.c.v2.c typedef long int64_t; void fn1(unsigned, char, long

[Bug c/60021] Inconsistent -Wsign-compare warnings for -O0 and -O1

2014-02-01 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60021 --- Comment #1 from Chengnian Sun --- Interestingly, if I remove the typedef "typedef long int64_t;", the warning is gone. $: cat s.c void fn1(unsigned, char, long); void fn1(unsigned p_26, char c, long l) { /**/ const char l_1051 = 0;

[Bug c/60036] New: Spurious signedness conversion warning with relational operator

2014-02-02 Thread chengniansun at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com Gcc-trunk emits a signedness conversion warning for the statement "f ^= fn1() > a;". However, as the value of "fn1() > a" is either

[Bug c/59976] Spurious warning on converting const int variable to unsigned long (Also inconsistency between O0 and O1)

2014-02-04 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59976 Chengnian Sun changed: What|Removed |Added Summary|Spurious warning on |Spurious warning on |co

  1   2   3   >