[Bug tree-optimization/46939] http://blog.regehr.org/archives/320 example 6

2010-12-17 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46939 --- Comment #8 from John Regehr 2010-12-17 17:11:05 UTC --- Here is the current performance that we measure, in cycles: gcc-head: 43 icc: 41 clang-head: 41 suncc: 42

[Bug c/47139] New: ice in process_use, at tree-vect-stmts.c:290

2010-12-31 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139 Summary: ice in process_use, at tree-vect-stmts.c:290 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig..

[Bug c/47140] New: error: conversion of register to a different size

2010-12-31 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47140 Summary: error: conversion of register to a different size Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unas

[Bug c/47141] New: segfault

2010-12-31 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47141 Summary: segfault Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: re

[Bug c/47148] New: likely wrong code bug

2011-01-01 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47148 Summary: likely wrong code bug Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org R

[Bug rtl-optimization/46755] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-02 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46755 John Regehr changed: What|Removed |Added CC||regehr at cs dot utah.edu --- Comment #8

[Bug c/47155] New: likely wrong code bug

2011-01-02 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47155 Summary: likely wrong code bug Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org R

[Bug c/47337] New: memory unsafety bug leading to wrong code generation

2011-01-17 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47337 Summary: memory unsafety bug leading to wrong code generation Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: u

[Bug c/47370] New: error: invalid first operand of MEM_REF

2011-01-19 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47370 Summary: error: invalid first operand of MEM_REF Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc

[Bug c/47391] New: read from const volatile incorrectly eliminated

2011-01-20 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47391 Summary: read from const volatile incorrectly eliminated Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassi

[Bug c/47409] New: volatile struct member bug

2011-01-21 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 Summary: volatile struct member bug Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org

[Bug c/47409] volatile struct member bug

2011-01-21 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #1 from John Regehr 2011-01-22 03:57:20 UTC --- Ack, sorry, wrong testcase! This is it: struct s2 { volatile int x; }; struct s2 s; void foo (void) { s = s; }

[Bug c/47427] New: ICE in process_constraint, at tree-ssa-structalias.c:2901

2011-01-23 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47427 Summary: ICE in process_constraint, at tree-ssa-structalias.c:2901 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/47428] New: ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986

2011-01-23 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47428 Summary: ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

[Bug c/47409] volatile struct member bug

2011-01-24 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #3 from John Regehr 2011-01-24 16:43:58 UTC --- (In reply to comment #2) > Not sure if this is a bug at all, structure assignment should be implementable > using memcpy or memmove and thus the side effects that will happen on it are >

[Bug c/47409] volatile struct member bug

2011-01-25 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #7 from John Regehr 2011-01-25 15:41:58 UTC --- (In reply to comment #6) > struct { > volatile int a[100]; > } a, b; > a = b; > > ? And what's the difference of the above to > > volatile struct { > int a[100]; > } a, b;

[Bug c/47899] New: ICE in get_loop_body, at cfgloop.c:831

2011-02-25 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47899 Summary: ICE in get_loop_body, at cfgloop.c:831 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.

[Bug c/47937] New: possible integer bug

2011-02-28 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47937 Summary: possible integer bug Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org Re

[Bug c/58364] New: likely wrong code bug

2013-09-08 Thread regehr at cs dot utah.edu
: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu CC: chenyang at cs dot utah.edu regehr@john-home ~/z/reduce/r107 $ gcc -O0 small.c ; ./a.out regehr@john-home ~/z/reduce/r107 $ gcc -O1 small.c ; ./a.out x regehr@john-home ~/z/reduce/r107 $ cat small.c int

[Bug c/58365] New: likely wrong code bug

2013-09-08 Thread regehr at cs dot utah.edu
: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu CC: chenyang at cs dot utah.edu regehr@john-home ~/z/reduce/r109 $ clang -O small.c ; ./a.out 0 regehr@john-home ~/z/reduce/r109 $ gcc -O small.c ; ./a.out 0 regehr@john-home ~/z/reduce/r109 $ gcc -Os small.c

[Bug middle-end/57393] [4.9 Regression] error: definition in block 4 follows the use / internal compiler error: verify_ssa failed

2013-09-10 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57393 John Regehr changed: What|Removed |Added CC||regehr at cs dot utah.edu --- Comment #34

[Bug c/58385] New: likely wrong code bug

2013-09-10 Thread regehr at cs dot utah.edu
: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu CC: chenyang at cs dot utah.edu regehr@john-home ~/z/reduce/r112 $ gcc -O0 small.c ; ./a.out 0 regehr@john-home ~/z/reduce/r112 $ gcc -O1 small.c ; ./a.out 1 regehr@john-home ~/z/reduce/r112 $ cat small.c int

[Bug target/50762] ICE: in extract_insn, at recog.c:2137 (unrecognizable insn) with -mavx2 and __builtin_shuffle

2011-11-07 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50762 John Regehr changed: What|Removed |Added CC||regehr at cs dot utah.edu --- Comment #1

[Bug c/51023] New: likely integer wrong code bug

2011-11-07 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51023 Bug #: 51023 Summary: likely integer wrong code bug Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/51023] likely integer wrong code bug

2011-11-07 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51023 --- Comment #1 from John Regehr 2011-11-08 05:53:57 UTC --- Slightly smaller testcase: int printf (const char *, ...); short func_11 (int si1) { return si1; } int main () { int l_141 = 0x4272A; printf ("%d\n", func_11 (l_141) == l_141);

[Bug rtl-optimization/50762] ICE: in extract_insn, at recog.c:2137 (unrecognizable insn)

2011-11-08 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50762 --- Comment #5 from John Regehr 2011-11-08 16:13:38 UTC --- (In reply to comment #2) > I have updated the summary, but please do not hijack PRs. I'd be happy to not hijack PRs but you will need to help. My assumptions have been: 1. Sometimes,

[Bug c/51042] New: segfault

2011-11-08 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51042 Bug #: 51042 Summary: segfault Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/51069] New: ICE in verify_loop_structure, at cfgloop.c:1559

2011-11-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51069 Bug #: 51069 Summary: ICE in verify_loop_structure, at cfgloop.c:1559 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/51070] New: ICE verify_gimple failed

2011-11-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51070 Bug #: 51070 Summary: ICE verify_gimple failed Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c/53160] New: likely wrong code bug

2012-04-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53160 Bug #: 53160 Summary: likely wrong code bug Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/53163] New: crash due to null ptr deref

2012-04-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53163 Bug #: 53163 Summary: crash due to null ptr deref Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/53168] New: ICE in find_or_generate_expression, at tree-ssa-pre.c:3053

2012-04-30 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53168 Bug #: 53168 Summary: ICE in find_or_generate_expression, at tree-ssa-pre.c:3053 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/53409] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630

2012-05-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53409 Bug #: 53409 Summary: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:630 Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c/53408] New: ICE in get_initial_def_for_induction, at tree-vect-loop.c:3222

2012-05-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53408 Bug #: 53408 Summary: ICE in get_initial_def_for_induction, at tree-vect-loop.c:3222 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/53410] New: ICE in build_int_cst_wide, at tree.c:1219

2012-05-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53410 Bug #: 53410 Summary: ICE in build_int_cst_wide, at tree.c:1219 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority

[Bug c/53411] New: segfault

2012-05-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53411 Bug #: 53411 Summary: segfault Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/53495] New: segmentation fault

2012-05-26 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53495 Bug #: 53495 Summary: segmentation fault Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/53519] New: ice in do_SUBST, at combine.c:707

2012-05-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53519 Bug #: 53519 Summary: ice in do_SUBST, at combine.c:707 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/53968] New: integer undefined behaviors in GCC

2012-07-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53968 Bug #: 53968 Summary: integer undefined behaviors in GCC Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/53968] integer undefined behaviors in GCC

2012-07-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53968 --- Comment #1 from John Regehr 2012-07-14 22:53:06 UTC --- Also there are about 50 defects relating to C99's restrictive rules for left-shifts of signed integers. I have omitted them since people typically don't care to fix these. If anyone wa

[Bug c/54027] New: possible mis-optimization of signed left shift in c89 mode

2012-07-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027 Bug #: 54027 Summary: possible mis-optimization of signed left shift in c89 mode Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/52073] New: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620

2012-01-31 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52073 Bug #: 52073 Summary: ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 Classification: Unclassified Product: gcc Version: 4.7.0

[Bug c/52091] New: ICE: verify_gimple failed

2012-02-01 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52091 Bug #: 52091 Summary: ICE: verify_gimple failed Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c/52092] New: ICE: internal consistency failure

2012-02-01 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52092 Bug #: 52092 Summary: ICE: internal consistency failure Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/52209] New: wrong code at -O0

2012-02-10 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52209 Bug #: 52209 Summary: wrong code at -O0 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/52173] internal compiler error: verify_ssa failed possibly caused by itm

2012-02-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52173 John Regehr changed: What|Removed |Added CC||regehr at cs dot utah.edu --- Comment #3

[Bug c/52255] New: ICE: verify_ssa failed, block does not dominate use

2012-02-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52255 Bug #: 52255 Summary: ICE: verify_ssa failed, block does not dominate use Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/52173] internal compiler error: verify_ssa failed possibly caused by itm

2012-02-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52173 --- Comment #5 from John Regehr 2012-02-15 03:58:22 UTC --- Sorry, see PR52255

[Bug c/52286] New: wrong code bug

2012-02-16 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286 Bug #: 52286 Summary: wrong code bug Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/52286] wrong code bug

2012-02-16 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286 John Regehr changed: What|Removed |Added CC||chenyang at cs dot utah.edu --- Comment #1

[Bug c/52286] wrong code bug

2012-02-16 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286 --- Comment #2 from John Regehr 2012-02-16 18:51:50 UTC --- Sorry, previous one wasn't quite reduced. int printf ( const char *, ... ); int a, b; int main (void) { b = (~a | 0 >= 0) & 0x98685255F; printf ("%d\n", b < 0); return 0; }

[Bug c/52298] New: ICE: verify_ssa failed: definition in block follows use

2012-02-17 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52298 Bug #: 52298 Summary: ICE: verify_ssa failed: definition in block follows use Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED S

[Bug c/52406] New: likely wrong code bug

2012-02-27 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52406 Bug #: 52406 Summary: likely wrong code bug Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/52437] New: internal compiler error: in spill_failure, at reload1.c:2120

2012-02-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52437 Bug #: 52437 Summary: internal compiler error: in spill_failure, at reload1.c:2120 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c/52881] New: ICE due to null pointer deref

2012-04-05 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52881 Bug #: 52881 Summary: ICE due to null pointer deref Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/52882] New: ICE in memory_address_length, at config/i386/i386.c:23373

2012-04-05 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52882 Bug #: 52882 Summary: ICE in memory_address_length, at config/i386/i386.c:23373 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/52883] New: ICE in simplify_const_unary_operation, at simplify-rtx.c:1464

2012-04-05 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52883 Bug #: 52883 Summary: ICE in simplify_const_unary_operation, at simplify-rtx.c:1464 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/52912] New: ICE: verify_ssa failed

2012-04-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52912 Bug #: 52912 Summary: ICE: verify_ssa failed Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/52913] New: segfault due to null ptr deref

2012-04-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52913 Bug #: 52913 Summary: segfault due to null ptr deref Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/52914] New: ICE in simplify_const_unary_operation, at simplify-rtx.c:1464

2012-04-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52914 Bug #: 52914 Summary: ICE in simplify_const_unary_operation, at simplify-rtx.c:1464 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c/52913] segfault due to null ptr deref

2012-04-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52913 John Regehr changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/52881] [4.8 Regression] ICE due to null pointer deref in cfgloop.c

2012-04-09 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52881 --- Comment #1 from John Regehr 2012-04-09 16:18:46 UTC --- *** Bug 52913 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/52891] [4.8 Regression] ICE in adjust_bool_pattern

2012-04-10 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52891 John Regehr changed: What|Removed |Added CC||regehr at cs dot utah.edu --- Comment #2

[Bug c/52943] New: likely wrong code bug

2012-04-11 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52943 Bug #: 52943 Summary: likely wrong code bug Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/52979] New: likely wrong code bug w/packed bitfields

2012-04-13 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52979 Bug #: 52979 Summary: likely wrong code bug w/packed bitfields Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority:

[Bug c/52996] New: ice in verify_loop_structure, at cfgloop.c:1567

2012-04-15 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52996 Bug #: 52996 Summary: ice in verify_loop_structure, at cfgloop.c:1567 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/53010] New: crash due to null ptr deref

2012-04-16 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53010 Bug #: 53010 Summary: crash due to null ptr deref Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/52979] [4.7/4.8 Regression] likely wrong code bug w/packed bitfields

2012-04-23 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52979 --- Comment #3 from John Regehr 2012-04-23 17:47:42 UTC --- I'll see if I can find another test case for this one.

[Bug middle-end/53010] [4.8 Regression] crash due to null ptr deref

2012-04-23 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53010 --- Comment #2 from John Regehr 2012-04-24 04:51:01 UTC --- Yes, this has gone away as of the last couple days.

[Bug c/58546] New: volatile bug and also larger code at -Os

2013-09-26 Thread regehr at cs dot utah.edu
Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu I believe that gcc r202854 for x86-64 Linux miscompiles the program below at -Os. int a; volatile char b = 1; short c[] = { 0, 0, 0, 0, 0, 0, 1 }; int main() { for (; a >= 0; a--) c[6]++; retur

[Bug c/58546] volatile bug and also larger code at -Os

2013-09-26 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58546 --- Comment #2 from John Regehr --- I agree, this is not very likely to cause problems in practice, though I selfishly hope that it gets fixed because then this bug will stop getting in our way when we look for other volatile bugs.

[Bug c/58564] New: possible wrong code bug at -O0

2013-09-28 Thread regehr at cs dot utah.edu
Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu regehr@john-home ~ $ clang -O0 -w small.c ; ./a.out 0 regehr@john-home ~ $ gcc-4.4 -O0 -w small.c ; ./a.out 0 regehr@john-home ~ $ gcc-4.6 -O0 -w small.c ; ./a.out 0 regehr@john-home ~ $ gcc-4.7 -O0 -w small.c ; ./a.out

[Bug c/58564] possible wrong code bug at -O0

2013-09-28 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 --- Comment #3 from John Regehr --- Kai, this is a real bug, please reopen it. Here is what I get out of -fdump-tree-original: b = (int) (d == &c && a != 1); This is wrong. One way to illustrate the problem is to remove the useless comma ope

[Bug c/58626] New: possible array wrong code bug

2013-10-04 Thread regehr at cs dot utah.edu
Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu [regehr@imp r106]$ gcc -O2 small.c ; ./a.out 1 [regehr@imp r106]$ gcc -O3 small.c ; ./a.out 0 [regehr@imp r106]$ cat small.c int printf(const char *, ...); int a[8][6] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1

[Bug c/59006] New: internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963

2013-11-05 Thread regehr at cs dot utah.edu
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu CC: chenyang at cs dot utah.edu regehr@regehr-M51AC:~/z/reduce/r121$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home

[Bug c/59006] internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963

2013-11-06 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006 --- Comment #1 from John Regehr --- Simpler test case: $ cat small.c int a[10], b; int main() { for (; b <= 0; b++) a[b] = a[0] || b; } $ gcc -O3 small.c small.c: In function ‘main’: small.c:2:5: internal compiler error: in vect_transform_

[Bug c/59100] New: requesting optimization of safe rotate function

2013-11-12 Thread regehr at cs dot utah.edu
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Here is the obvious rotate idiom in C (this code is from Nettle): #define ROTL32(n,x) (((x)<<(n)) | ((x)>>(32-(n GCC does an admirable job of recognizing the code and turning it i

[Bug c/59101] New: integer wrong code bug

2013-11-12 Thread regehr at cs dot utah.edu
: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu $ gcc -O0 foo.c ; ./a.out 7 $ gcc -O1 foo.c ; ./a.out 6 $ cat foo.c int printf(const char *, ...); int a, b; int main() { b = (~a & 4102790424) > 0 | 6; printf("%d\n", b); return 0; } $ gcc -v Usi

[Bug c/59138] New: possible packed struct miscompile

2013-11-14 Thread regehr at cs dot utah.edu
Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu [regehr@imp test1]$ clang -O -Wall ./work17/reduce_D0DDXs/small.c ; ./a.out 0 [regehr@imp test1]$ gcc -O2 -Wall ./work17/reduce_D0DDXs/small.c ; ./a.out 0 [regehr@imp test1]$ gcc -Os -Wall ./work17/reduce_D0DDXs

[Bug c/59139] New: internal compiler error: in get_val_for, at tree-ssa-loop-niter.c:2267

2013-11-14 Thread regehr at cs dot utah.edu
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu [regehr@imp test]$ gcc -O3 -c -Wall ./work20/reduce_55RZFl/small.c ./work20/reduce_55RZFl/small.c: In function ‘fn2’: ./work20/reduce_55RZFl/small.c:4:6

[Bug c/59164] New: ice: tree check: expected tree that contains ‘decl minimal’ structure, have ‘integer_cst’ in get_var_info, at tree-into-ssa.c:380

2013-11-17 Thread regehr at cs dot utah.edu
Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu CC: chenyang at cs dot utah.edu regehr@regehr-M51AC:~/z/reduce

[Bug c/51176] New: possible integer wrong code bug

2011-11-16 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51176 Bug #: 51176 Summary: possible integer wrong code bug Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/51245] New: ICE in vn_reference_insert_pieces, at tree-ssa-sccvn.c:1983

2011-11-20 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51245 Bug #: 51245 Summary: ICE in vn_reference_insert_pieces, at tree-ssa-sccvn.c:1983 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c/51246] New: ICE in replace_ref_with, at tree-predcom.c:1309

2011-11-20 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51246 Bug #: 51246 Summary: ICE in replace_ref_with, at tree-predcom.c:1309 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/51247] New: ICE in set_value_range, at tree-vrp.c:417

2011-11-20 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51247 Bug #: 51247 Summary: ICE in set_value_range, at tree-vrp.c:417 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority

[Bug c++/50800] Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2011-12-02 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 --- Comment #4 from John Regehr 2011-12-03 07:01:50 UTC --- Created attachment 25977 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25977 smaller test case

[Bug c++/50800] Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2011-12-05 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 --- Comment #5 from John Regehr 2011-12-05 22:07:16 UTC --- Created attachment 25997 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25997 smaller again

[Bug c/47409] volatile struct member bug

2013-01-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #9 from John Regehr 2013-01-30 04:36:01 UTC --- Just wanted to ping about this one; it's still there in tonight's GCC. regehr@home:~$ cat vol.c struct s2 { volatile int x; }; struct s2 s; void foo (void) { s = s;

[Bug c/56144] New: ICE in get_reload_reg, at lra-constraints.c:421

2013-01-29 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56144 Bug #: 56144 Summary: ICE in get_reload_reg, at lra-constraints.c:421 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal P

[Bug c/47409] volatile struct member bug

2013-01-30 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #12 from John Regehr 2013-01-30 23:24:36 UTC --- (In reply to comment #10) > As said previously I think that volatile struct members are ill-defined. As far as the C standard goes, I believe the situation is clear: a volatile

[Bug c++/68722] New: internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2108

2015-12-05 Thread regehr at cs dot utah.edu
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- Possibly a dup of PR68475 $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install

[Bug c++/68723] New: ice in pop_nested_namespace, at cp/name-lookup.c:3816

2015-12-05 Thread regehr at cs dot utah.edu
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- ICE on invalid code $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r231259-install/libexec/gcc/x86_64-pc-linux-gnu

[Bug c++/68724] New: ice in unify, at cp/pt.c:19902

2015-12-05 Thread regehr at cs dot utah.edu
++ Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- ICE on invalid code $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r231259-install/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper

[Bug c++/68726] New: ice: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:7890

2015-12-05 Thread regehr at cs dot utah.edu
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- ICE on invalid code $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/regehr/z

[Bug c++/68728] New: ice: unexpected expression ‘(const char*)__s’ of kind implicit_conv_expr

2015-12-05 Thread regehr at cs dot utah.edu
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- ICE on invalid code $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r231259

[Bug c/68830] New: internal compiler error: in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:322

2015-12-10 Thread regehr at cs dot utah.edu
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: regehr at cs dot utah.edu Target Milestone: --- ICE on valid code $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/john/gcc-install/libexec/gcc/x86_64

[Bug c/48124] New: likely wrong code bug

2011-03-14 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48124 Summary: likely wrong code bug Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org R

[Bug c/48136] New: verify_gimple failed at -O0

2011-03-15 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48136 Summary: verify_gimple failed at -O0 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org

[Bug c/48146] New: ICE tree check: expected ssa_name, have var_decl in has_zero_uses, at tree-flow-inline.h:342

2011-03-15 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48146 Summary: ICE tree check: expected ssa_name, have var_decl in has_zero_uses, at tree-flow-inline.h:342 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c/48197] New: possible wrong code bug at -O0

2011-03-18 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48197 Summary: possible wrong code bug at -O0 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org

  1   2   >