------- Comment #2 from pinskia at gcc dot gnu dot org  2008-10-27 01:57 -------
Confirmed.
1620              if (e->dest != bb->next_bb
1621                  && e->dest != EXIT_BLOCK_PTR
1622                  && single_succ_p (e->dest)
1623                  && single_succ_edge (e->dest)->dest == EXIT_BLOCK_PTR
1624                  && gimple_code (last_stmt (e->dest)) == GIMPLE_RETURN)

last_stmt (e->dest) is NULL as there are no statements in the basic block.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |tree-optimization
     Ever Confirmed|0                           |1
  GCC build triplet|i486-pc-linux-gnu           |
   GCC host triplet|i486-pc-linux-gnu           |
 GCC target triplet|i486-pc-linux-gnu           |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-27 01:57:26
               date|                            |
            Summary|g++: internal compiler      |[4.3/4.4 Regression] ICE
                   |error: Segmentation fault   |with "wrong" use of noreturn
                   |                            |attribute and optimization
   Target Milestone|---                         |4.3.3


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

Reply via email to