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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-15
                 CC|                            |mpolacek at gcc dot gnu.org
          Component|c                           |tree-optimization
     Ever confirmed|0                           |1
      Known to fail|                            |4.6.4, 4.7.3, 4.8.1, 4.9.0

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  With trunk:

c.c: In function ‘main’:
c.c:1:22: warning: initialization from incompatible pointer type [enabled by
default]
 int main(){ int* ptr=main; goto *&ptr; }
                      ^
c.c:1:1: error: address taken, but ADDRESSABLE bit not set
 int main(){ int* ptr=main; goto *&ptr; }
 ^
ptr
cc1: note: in statement
goto &ptr;
c.c:1:1: internal compiler error: verify_gimple failed
0x959e09 verify_gimple_in_cfg(function*)
    /home/marek/src/gcc/gcc/tree-cfg.c:4824
0x8847e4 execute_function_todo
    /home/marek/src/gcc/gcc/passes.c:1816
0x8850dc execute_todo
    /home/marek/src/gcc/gcc/passes.c:1849
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to