public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer
@ 2004-02-28 18:18 r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-02-28 18:23 ` [Bug optimization/14335] " r dot s dot a dot vandomburg at student dot utwente dot nl
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: r dot s dot a dot vandomburg at student dot utwente dot nl @ 2004-02-28 18:18 UTC (permalink / raw)
  To: gcc-bugs

Compiling Sendmail's savemail.c with -ftracer causes gcc to enter an infinite 
loop, eating 100% CPU. Compiling without -ftracer works just fine.

cc -O -v -save-temps -ftracer -fprefetch-loop-arrays  -
I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -
I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -
DMILTER -DNETINET6 -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DSTARTTLS -
D_FFR_TLS_1   -c /usr/src/contrib/sendmail/src/savemail.c
Using built-in specs.
Configured with: FreeBSD/sparc64 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
 /usr/obj/usr/src/sparc64/usr/libexec/cc1 -E -quiet -v -
I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -
I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -D__GNUC__=3 -
D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__sparc64__ -D__sparc_v9__ -
D__sparcv9 -D__sparc__ -D__arch64__ -D_LONGLONG -DNEWDB -DNIS -DMILTER -
DNETINET6 -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DSTARTTLS -
D_FFR_TLS_1 /usr/src/contrib/sendmail/src/savemail.c -ftracer -fprefetch-loop-
arrays -O savemail.i
ignoring duplicate directory "/usr/obj/usr/src/sparc64/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/contrib/sendmail/src
 /usr/src/contrib/sendmail/include
 .
 /usr/obj/usr/src/sparc64/usr/include
End of search list.
 /usr/obj/usr/src/sparc64/usr/libexec/cc1 -fpreprocessed savemail.i -quiet -
dumpbase savemail.c -auxbase savemail -O -version -ftracer -fprefetch-loop-
arrays -o savemail.s
GNU C version 3.3.3 [FreeBSD] 20031106 (sparc64-undermydesk-freebsd)
        compiled by GNU C version 3.3.3 [FreeBSD] 20031106.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

-- 
           Summary: Infinite loop while compiling Sendmail with -ftracer
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: r dot s dot a dot vandomburg at student dot utwente dot
                    nl
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: sparc64-undermydesk-freebsd


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
@ 2004-02-28 18:23 ` r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-02-28 20:41 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: r dot s dot a dot vandomburg at student dot utwente dot nl @ 2004-02-28 18:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From r dot s dot a dot vandomburg at student dot utwente dot nl  2004-02-28 18:22 -------
Created an attachment (id=5815)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5815&action=view)
temporary intermediate file


-- 


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-02-28 18:23 ` [Bug optimization/14335] " r dot s dot a dot vandomburg at student dot utwente dot nl
@ 2004-02-28 20:41 ` pinskia at gcc dot gnu dot org
  2004-03-03 12:54 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-28 20:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-02-28 18:23 ` [Bug optimization/14335] " r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-02-28 20:41 ` pinskia at gcc dot gnu dot org
@ 2004-03-03 12:54 ` ebotcazou at gcc dot gnu dot org
  2004-03-06 17:57 ` r dot s dot a dot vandomburg at student dot utwente dot nl
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-03 12:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-03-03 12:54 -------
Confirmed in GCC 3.3.2 but fixed in GCC 3.3.3 release and later.  Very likely a
duplicate.


*** This bug has been marked as a duplicate of 13521 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |3.3.3
            Version|3.3.3                       |3.3.2


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
                   ` (2 preceding siblings ...)
  2004-03-03 12:54 ` ebotcazou at gcc dot gnu dot org
@ 2004-03-06 17:57 ` r dot s dot a dot vandomburg at student dot utwente dot nl
  2004-03-06 18:28 ` pinskia at gcc dot gnu dot org
  2004-03-06 18:53 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: r dot s dot a dot vandomburg at student dot utwente dot nl @ 2004-03-06 17:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From r dot s dot a dot vandomburg at student dot utwente dot nl  2004-03-06 17:57 -------
(In reply to comment #2)
> Confirmed in GCC 3.3.2 but fixed in GCC 3.3.3 release and later.  Very 
likely a
> duplicate.
> *** This bug has been marked as a duplicate of 13521 ***

Unfortunately this bug still bites me on GCC 3.3.3:

Using built-in specs.
Configured with: FreeBSD/sparc64 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
                   ` (3 preceding siblings ...)
  2004-03-06 17:57 ` r dot s dot a dot vandomburg at student dot utwente dot nl
@ 2004-03-06 18:28 ` pinskia at gcc dot gnu dot org
  2004-03-06 18:53 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-06 18:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-06 18:28 -------
Can you then try the FSF released compiler and compile it from source as we do not support the 
FreeBSD's compiler?

-- 


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


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

* [Bug optimization/14335] Infinite loop while compiling Sendmail with -ftracer
  2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
                   ` (4 preceding siblings ...)
  2004-03-06 18:28 ` pinskia at gcc dot gnu dot org
@ 2004-03-06 18:53 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-06 18:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-03-06 18:53 -------
As I said above, it is fixed in GCC 3.3.3 release.

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


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


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

end of thread, other threads:[~2004-03-06 18:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28 18:18 [Bug optimization/14335] New: Infinite loop while compiling Sendmail with -ftracer r dot s dot a dot vandomburg at student dot utwente dot nl
2004-02-28 18:23 ` [Bug optimization/14335] " r dot s dot a dot vandomburg at student dot utwente dot nl
2004-02-28 20:41 ` pinskia at gcc dot gnu dot org
2004-03-03 12:54 ` ebotcazou at gcc dot gnu dot org
2004-03-06 17:57 ` r dot s dot a dot vandomburg at student dot utwente dot nl
2004-03-06 18:28 ` pinskia at gcc dot gnu dot org
2004-03-06 18:53 ` ebotcazou at gcc dot gnu 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).