[Bug tree-optimization/87940] New: [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/87940] New: [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87940

            Bug ID: 87940
           Summary: [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: edlinger at gcc dot gnu.org
  Target Milestone: ---

On i686, r265778 caused:

/export/gnu/import/git/gcc-test-ia32/src-trunk/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c:56:1:
internal compiler error: verify_gimple failed^M
0x8922dc4 verify_gimple_in_seq(gimple*)^M
        ../../src-trunk/gcc/tree-cfg.c:5082^M
0x86899d7 gimplify_body(tree_node*, bool)^M
        ../../src-trunk/gcc/gimplify.c:12859^M
0x8689b8b gimplify_function_tree(tree_node*)^M
        ../../src-trunk/gcc/gimplify.c:12949^M
0x84f7690 cgraph_node::analyze()^M
        ../../src-trunk/gcc/cgraphunit.c:667^M
0x84fa1d8 analyze_functions^M
        ../../src-trunk/gcc/cgraphunit.c:1126^M
0x84fadd3 symbol_table::finalize_compilation_unit()^M
        ../../src-trunk/gcc/cgraphunit.c:2833^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
Please include the complete backtrace with any bug report.^M
See <https://gcc.gnu.org/bugs/> for instructions.^M
compiler exited with status 1
FAIL: gcc.dg/warn-strlen-no-nul.c (internal compiler error)
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87940

Bernd Edlinger <edlinger at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-11-08
           Assignee|unassigned at gcc dot gnu.org      |edlinger at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
proposed patch: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00325.html
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

asolokha at gmx dot com
In reply to this post by asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87940

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

asolokha at gmx dot com
In reply to this post by asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87940

--- Comment #2 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Fri Nov  9 20:38:07 2018
New Revision: 265992

URL: https://gcc.gnu.org/viewcvs?rev=265992&root=gcc&view=rev
Log:
2018-11-09  Bernd Edlinger  <[hidden email]>

        PR tree-optimization/87940
        * expr.c (string_constant): Don't strip NOPS in subexpressions.
        Fold PLUS_EXPR correctly.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
Reply | Threaded
Open this post in threaded view
|

[Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c

asolokha at gmx dot com
In reply to this post by asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87940

Bernd Edlinger <edlinger at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Fixed.  Thanks!