public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
@ 2013-10-19 22:31 reichelt at gcc dot gnu.org
  2013-10-21  8:26 ` [Bug middle-end/58809] " rguenth at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: reichelt at gcc dot gnu.org @ 2013-10-19 22:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58809
           Summary: [4.7/4.8/4.9 Regression] ICE with complex variable in
                    OpenMP reduction clause
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: reichelt at gcc dot gnu.org

The following valid code snippet (compiled with "-fopenmp -O") triggers an ICE
since GCC 4.3.0:

======================================================
int i;
#pragma omp threadprivate (i)

void foo()
{
  _Complex int j;
#pragma omp parallel copyin (i) reduction (&&:j)
  ;
}
======================================================

bug.c: In function 'foo':
bug.c:7:9: internal compiler error: in build_int_cst_wide, at tree.c:1258
 #pragma omp parallel copyin (i) reduction (&&:j)
         ^
0xb6dcd3 build_int_cst_wide(tree_node*, unsigned long, long)
        ../../gcc/gcc/tree.c:1258
0xb6e010 double_int_to_tree(tree_node*, double_int)
        ../../gcc/gcc/tree.c:1112
0xb6e05a build_int_cst(tree_node*, long)
        ../../gcc/gcc/tree.c:1089
0x7804b3 make_range(tree_node*, int*, tree_node**, tree_node**, bool*)
        ../../gcc/gcc/fold-const.c:4231
0x785533 fold_range_test
        ../../gcc/gcc/fold-const.c:4987
0x785533 fold_truth_andor
        ../../gcc/gcc/fold-const.c:8629
0x74d86c fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/gcc/fold-const.c:12711
0x76a86a fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/gcc/fold-const.c:15051
0x8a2e7a lower_reduction_clauses
        ../../gcc/gcc/omp-low.c:3799
0x8a4fbe lower_omp_taskreg
        ../../gcc/gcc/omp-low.c:9383
0x89e0ab lower_omp_1
        ../../gcc/gcc/omp-low.c:9907
0x89e0ab lower_omp
        ../../gcc/gcc/omp-low.c:10029
0x89e82e lower_omp_1
        ../../gcc/gcc/omp-low.c:9899
0x89e82e lower_omp
        ../../gcc/gcc/omp-low.c:10029
0x89fe5c execute_lower_omp
        ../../gcc/gcc/omp-low.c:10064
0x89fe5c execute
        ../../gcc/gcc/omp-low.c:10103
Please submit a full bug report, [etc.]


A similar code snippet triggers an ICE in a different position on trunk:

======================================================
int i;
#pragma omp threadprivate (i)

void foo()
{
  _Complex int j;
#pragma omp parallel copyin (i) reduction (&:j)
  ;
}
======================================================

bug.c: In function 'foo._omp_fn.0':
bug.c:17:9: internal compiler error: in expand_expr_real_2, at expr.c:9119
 #pragma omp parallel copyin (i) reduction (&:j)
         ^
0x723807 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/gcc/expr.c:9119
0x710127 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
        ../../gcc/gcc/expr.c:10487
0x710e86 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
        ../../gcc/gcc/expr.c:9296
0x71b5b8 store_expr(tree_node*, rtx_def*, int, bool)
        ../../gcc/gcc/expr.c:5208
0x71d663 expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc/gcc/expr.c:4994
0x64667d expand_gimple_stmt_1
        ../../gcc/gcc/cfgexpand.c:2277
0x64667d expand_gimple_stmt
        ../../gcc/gcc/cfgexpand.c:2373
0x6480e3 expand_gimple_basic_block
        ../../gcc/gcc/cfgexpand.c:4212
0x649a2c gimple_expand_cfg
        ../../gcc/gcc/cfgexpand.c:4731
0x649a2c execute
        ../../gcc/gcc/cfgexpand.c:4945
Please submit a full bug report, [etc.]


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
@ 2013-10-21  8:26 ` rguenth at gcc dot gnu.org
  2013-10-21 11:17 ` mpolacek at gcc dot gnu.org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-21  8:26 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.4


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
  2013-10-21  8:26 ` [Bug middle-end/58809] " rguenth at gcc dot gnu.org
@ 2013-10-21 11:17 ` mpolacek at gcc dot gnu.org
  2013-10-21 12:41 ` mpolacek at gcc dot gnu.org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-21
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed, but no clue whether it is valid or not.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
  2013-10-21  8:26 ` [Bug middle-end/58809] " rguenth at gcc dot gnu.org
  2013-10-21 11:17 ` mpolacek at gcc dot gnu.org
@ 2013-10-21 12:41 ` mpolacek at gcc dot gnu.org
  2013-10-21 15:18 ` mpolacek at gcc dot gnu.org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 12:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Maybe fold_range_test should just return 0 when the type is not
INTEGRAL_TYPE_P.  If that's the case, I can take this one.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-10-21 12:41 ` mpolacek at gcc dot gnu.org
@ 2013-10-21 15:18 ` mpolacek at gcc dot gnu.org
  2013-10-21 18:40 ` mpolacek at gcc dot gnu.org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 15:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Patch posted for the first testcase:
http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01714.html


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-10-21 15:18 ` mpolacek at gcc dot gnu.org
@ 2013-10-21 18:40 ` mpolacek at gcc dot gnu.org
  2013-11-05 15:06 ` [Bug middle-end/58809] [4.7/4.8 " rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 18:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Oct 21 18:40:34 2013
New Revision: 203907

URL: http://gcc.gnu.org/viewcvs?rev=203907&root=gcc&view=rev
Log:
    PR middle-end/58809
    * fold-const.c (fold_range_test): Return 0 if the type is not
    an integral type.
testsuite/
    * gcc.dg/gomp/pr58809.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr58809.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2013-10-21 18:40 ` mpolacek at gcc dot gnu.org
@ 2013-11-05 15:06 ` rguenth at gcc dot gnu.org
  2013-11-05 21:17 ` [Bug middle-end/58809] [4.7/4.8/4.9 " reichelt at gcc dot gnu.org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-05 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
      Known to work|                            |4.9.0
            Summary|[4.7/4.8/4.9 Regression]    |[4.7/4.8 Regression] ICE
                   |ICE with complex variable   |with complex variable in
                   |in OpenMP reduction clause  |OpenMP reduction clause
      Known to fail|4.8.0, 4.9.0                |4.8.2

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2013-11-05 15:06 ` [Bug middle-end/58809] [4.7/4.8 " rguenth at gcc dot gnu.org
@ 2013-11-05 21:17 ` reichelt at gcc dot gnu.org
  2013-12-05  0:46 ` burnus at gcc dot gnu.org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: reichelt at gcc dot gnu.org @ 2013-11-05 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.9.0                       |
            Summary|[4.7/4.8 Regression] ICE    |[4.7/4.8/4.9 Regression]
                   |with complex variable in    |ICE with complex variable
                   |OpenMP reduction clause     |in OpenMP reduction clause

--- Comment #6 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Only the first testcase was fixed on trunk.
The second one still crashes on trunk.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2013-11-05 21:17 ` [Bug middle-end/58809] [4.7/4.8/4.9 " reichelt at gcc dot gnu.org
@ 2013-12-05  0:46 ` burnus at gcc dot gnu.org
  2014-01-23 13:32 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-12-05  0:46 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
[second test case]
(In reply to Volker Reichelt from comment #0)
> A similar code snippet triggers an ICE in a different position on trunk:

Reduced example:

void foo()
{
  _Complex int j;
#pragma omp parallel reduction (&:j)
  ;
}


I wonder whether it is valid as the following is rejected with "error: invalid
operands to binary & (have 'complex int' and 'complex int')":

_Complex int foo(_Complex int j)
{
  _Complex int k = -1;
  j &=  k;
}


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2013-12-05  0:46 ` burnus at gcc dot gnu.org
@ 2014-01-23 13:32 ` jakub at gcc dot gnu.org
  2014-01-23 13:34 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-23 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 23 13:32:19 2014
New Revision: 206962

URL: http://gcc.gnu.org/viewcvs?rev=206962&root=gcc&view=rev
Log:
    PR middle-end/58809
    * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR,
    BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.

    * semantics.c (finish_omp_reduction_clause): Reject
    BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.

    * c-c++-common/gomp/pr58809.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr58809.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2014-01-23 13:32 ` jakub at gcc dot gnu.org
@ 2014-01-23 13:34 ` jakub at gcc dot gnu.org
  2014-01-23 13:40 ` [Bug middle-end/58809] [4.7/4.8 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-23 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 23 13:33:36 2014
New Revision: 206963

URL: http://gcc.gnu.org/viewcvs?rev=206963&root=gcc&view=rev
Log:
    PR middle-end/58809
    * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR,
    BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.

    * semantics.c (finish_omp_clauses): Reject MIN_EXPR, MAX_EXPR,
    BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.

    * c-c++-common/gomp/pr58809.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/gomp/pr58809.c
Modified:
    branches/gcc-4_8-branch/gcc/c/ChangeLog
    branches/gcc-4_8-branch/gcc/c/c-typeck.c
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/semantics.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2014-01-23 13:34 ` jakub at gcc dot gnu.org
@ 2014-01-23 13:40 ` jakub at gcc dot gnu.org
  2014-01-23 13:42 ` mpolacek at gcc dot gnu.org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-23 13:40 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[4.7/4.8/4.9 Regression]    |[4.7/4.8 Regression] ICE
                   |ICE with complex variable   |with complex variable in
                   |in OpenMP reduction clause  |OpenMP reduction clause

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk and partly on the 4.8 branch.
Marek, could you backport your patch to 4.8?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2014-01-23 13:40 ` [Bug middle-end/58809] [4.7/4.8 " jakub at gcc dot gnu.org
@ 2014-01-23 13:42 ` mpolacek at gcc dot gnu.org
  2014-01-23 13:49 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-01-23 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #10)
> Marek, could you backport your patch to 4.8?

Will do.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7/4.8 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2014-01-23 13:42 ` mpolacek at gcc dot gnu.org
@ 2014-01-23 13:49 ` mpolacek at gcc dot gnu.org
  2014-05-07 16:12 ` [Bug middle-end/58809] [4.7 " jakub at gcc dot gnu.org
  2014-05-07 16:23 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-01-23 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Jan 23 13:48:46 2014
New Revision: 206964

URL: http://gcc.gnu.org/viewcvs?rev=206964&root=gcc&view=rev
Log:
    PR middle-end/58809
    * fold-const.c (fold_range_test): Return 0 if the type is not
    an integral type.
testsuite/
    * gcc.dg/gomp/pr58809.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/gomp/pr58809.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/fold-const.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2014-01-23 13:49 ` mpolacek at gcc dot gnu.org
@ 2014-05-07 16:12 ` jakub at gcc dot gnu.org
  2014-05-07 16:23 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-05-07 16:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May  7 16:11:42 2014
New Revision: 210180

URL: http://gcc.gnu.org/viewcvs?rev=210180&root=gcc&view=rev
Log:
    Backported from mainline
    2013-10-21  Marek Polacek  <polacek@redhat.com>

    PR middle-end/58809
    * fold-const.c (fold_range_test): Return 0 if the type is not
    an integral type.

    * gcc.dg/gomp/pr58809.c: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/gomp/pr58809.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/fold-const.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/58809] [4.7 Regression] ICE with complex variable in OpenMP reduction clause
  2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2014-05-07 16:12 ` [Bug middle-end/58809] [4.7 " jakub at gcc dot gnu.org
@ 2014-05-07 16:23 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-05-07 16:23 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.10.0, 4.7.4, 4.8.3, 4.9.0
         Resolution|---                         |FIXED

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-05-07 16:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-19 22:31 [Bug middle-end/58809] New: [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause reichelt at gcc dot gnu.org
2013-10-21  8:26 ` [Bug middle-end/58809] " rguenth at gcc dot gnu.org
2013-10-21 11:17 ` mpolacek at gcc dot gnu.org
2013-10-21 12:41 ` mpolacek at gcc dot gnu.org
2013-10-21 15:18 ` mpolacek at gcc dot gnu.org
2013-10-21 18:40 ` mpolacek at gcc dot gnu.org
2013-11-05 15:06 ` [Bug middle-end/58809] [4.7/4.8 " rguenth at gcc dot gnu.org
2013-11-05 21:17 ` [Bug middle-end/58809] [4.7/4.8/4.9 " reichelt at gcc dot gnu.org
2013-12-05  0:46 ` burnus at gcc dot gnu.org
2014-01-23 13:32 ` jakub at gcc dot gnu.org
2014-01-23 13:34 ` jakub at gcc dot gnu.org
2014-01-23 13:40 ` [Bug middle-end/58809] [4.7/4.8 " jakub at gcc dot gnu.org
2014-01-23 13:42 ` mpolacek at gcc dot gnu.org
2014-01-23 13:49 ` mpolacek at gcc dot gnu.org
2014-05-07 16:12 ` [Bug middle-end/58809] [4.7 " jakub at gcc dot gnu.org
2014-05-07 16:23 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).