public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28983]  New: Problem creating a new pass
@ 2006-09-08 11:55 daknhro at hotmail dot com
  2006-09-08 15:51 ` [Bug tree-optimization/28983] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: daknhro at hotmail dot com @ 2006-09-08 11:55 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]

Well, i want to create a new pass for gcc. i do all passes an introduce my pass
in passes.c


  p = &pass_tree_loop.sub;
  NEXT_PASS (pass_tree_loop_init);
  NEXT_PASS (pass_tree_blocking);

I do the tree-blocking.c

static void

main_tree_blocking (void)

{  struct loops loops
   flow_loops_find(&loops);
}
}


struct tree_opt_pass pass_tree_blocking =

{

  "blocking", /* name */

  NULL, /* gate */

  main_tree_blocking, /* execute */

  NULL, /* sub */

  NULL, /* next */

  0, /* static_pass_number */

  TV_BLOCKING, /* tv_id */

  PROP_cfg, /* properties_required */

  0, /* properties_provided */

  0, /* properties_destroyed */

  0, /* todo_flags_start */

  TODO_dump_func | TODO_verify_loops | TODO_verify_stmts | TODO_verify_flow,

                                        /* todo_flags_finish */

  0 /* letter */

};

Then i do make and make install without problems,but when i try to compiler a c
code..
edu@edu:~$ ./build-gcc/bin/gcc -O3 -da -fdump-tree-blocking proyecto/array.c
proyecto/array.c: En la función ‘main’:
proyecto/array.c:8: error interno del compilador: Violación de segmento
Por favor envíe un reporte completo de bichos,
con el código preprocesado si es apropiado.
Vea <URL:http://gcc.gnu.org/bugs.html> para más instrucciones.

can somebody help me?


-- 
           Summary: Problem creating a new pass
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daknhro at hotmail dot com


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


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

* [Bug tree-optimization/28983] Problem creating a new pass
  2006-09-08 11:55 [Bug c/28983] New: Problem creating a new pass daknhro at hotmail dot com
@ 2006-09-08 15:51 ` pinskia at gcc dot gnu dot org
  2006-09-08 16:29 ` daknhro at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-08 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-08 15:51 -------
This is the wrong place to report a problem about your own pass if you have not
done any debugging yourself.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |tree-optimization
         Resolution|                            |INVALID


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


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

* [Bug tree-optimization/28983] Problem creating a new pass
  2006-09-08 11:55 [Bug c/28983] New: Problem creating a new pass daknhro at hotmail dot com
  2006-09-08 15:51 ` [Bug tree-optimization/28983] " pinskia at gcc dot gnu dot org
@ 2006-09-08 16:29 ` daknhro at hotmail dot com
  2006-09-08 20:32 ` steven at gcc dot gnu dot org
  2006-09-09  2:27 ` dberlin at dberlin dot org
  3 siblings, 0 replies; 5+ messages in thread
From: daknhro at hotmail dot com @ 2006-09-08 16:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from daknhro at hotmail dot com  2006-09-08 16:28 -------
can i have a debugging?(In reply to comment #1)
> This is the wrong place to report a problem about your own pass if you have not
> done any debugging yourself.
> 

how i do a debugginh


-- 


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


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

* [Bug tree-optimization/28983] Problem creating a new pass
  2006-09-08 11:55 [Bug c/28983] New: Problem creating a new pass daknhro at hotmail dot com
  2006-09-08 15:51 ` [Bug tree-optimization/28983] " pinskia at gcc dot gnu dot org
  2006-09-08 16:29 ` daknhro at hotmail dot com
@ 2006-09-08 20:32 ` steven at gcc dot gnu dot org
  2006-09-09  2:27 ` dberlin at dberlin dot org
  3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-09-08 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from steven at gcc dot gnu dot org  2006-09-08 20:32 -------
See http://gcc.gnu.org/wiki/DebuggingGCC

Please stop asking questions here and try to figure out something for yourself,
from the wiki, from the documentation, by experimenting, or when all else
fails, on the mailing lists. But not here.

Good luck!


-- 


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


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

* [Bug tree-optimization/28983] Problem creating a new pass
  2006-09-08 11:55 [Bug c/28983] New: Problem creating a new pass daknhro at hotmail dot com
                   ` (2 preceding siblings ...)
  2006-09-08 20:32 ` steven at gcc dot gnu dot org
@ 2006-09-09  2:27 ` dberlin at dberlin dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dberlin at dberlin dot org @ 2006-09-09  2:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dberlin at gcc dot gnu dot org  2006-09-09 02:26 -------
Subject: Re:  New: Problem creating a new pass

>
> Then i do make and make install without problems,but when i try to compiler a c
> code..

I'd highly suggest you email gcc@, use the current development
version, and attach a patch with exactly what you have done. That
would be very helpful to figuring out what is going on.


-- 


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


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

end of thread, other threads:[~2006-09-09  2:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-08 11:55 [Bug c/28983] New: Problem creating a new pass daknhro at hotmail dot com
2006-09-08 15:51 ` [Bug tree-optimization/28983] " pinskia at gcc dot gnu dot org
2006-09-08 16:29 ` daknhro at hotmail dot com
2006-09-08 20:32 ` steven at gcc dot gnu dot org
2006-09-09  2:27 ` dberlin at dberlin dot 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).