public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23311] New: GCC produces wrong code
@ 2005-08-10  9:48 Tobias dot Kranz at bka dot bund dot de
  2005-08-10 10:09 ` [Bug tree-optimization/23311] [4.0 regression] " belyshev at depni dot sinp dot msu dot ru
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tobias dot Kranz at bka dot bund dot de @ 2005-08-10  9:48 UTC (permalink / raw)
  To: gcc-bugs

When compiling samba-3.0.14a with the attached configure-options, the smbd and
winbindd are crashing randomly when started with the '--help'-Option. Sometimes
the show the beginning of the help-screen an then they crash with SIGSEGV. The
next time there is an infinite loop of the help-screen. It seems to me as if the
both situations are taking turns.

I'm quite sure that the Problem is caused by gcc-4.0.1 because when I compile
the samba source with gcc-3.4.3 it works perfectly.

Sys-Infos:
gcc -v:
  Configured with: ../gcc-4.0.1/configure --prefix=/usr --with-gnu-as
  --with-gnu-ld --enable-threads --enable-languages=c,c++,objc,java,treelang 
  --enable-__cxa_atexit --with-x --enable-shared --enable-nls
  Thread model: posix
  gcc version 4.0.1

gcc-3.4.3 -v:
  Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
  Configured with: ../gcc-3.4.3/configure --prefix=/usr --with-gnu-as 
  --with-gnu-ld --enable-threads --enable-languages=c,c++,objc,java,treelang 
  --enable-__cxa_atexit --with-x --enable-shared --enable-nls   
  --program-suffix=-3.4.3
  Thread model: posix
  gcc version 3.4.3

Samba v. 3.0.14a - Configure-options:
./configure \
--enable-shared \
--with-smbmount \
--with-libsmbclient \
--without-ldap \
--with-pam \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc/samba \
--with-logfilebase=/var/log/samba \
--with-configdir=/etc/samba \
--with-lockdir=/var/lock/samba \
--with-piddir=/var/run/samba

-- 
           Summary: GCC produces wrong code
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Tobias dot Kranz at bka dot bund dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug tree-optimization/23311] [4.0 regression] GCC produces wrong code
  2005-08-10  9:48 [Bug c/23311] New: GCC produces wrong code Tobias dot Kranz at bka dot bund dot de
@ 2005-08-10 10:09 ` belyshev at depni dot sinp dot msu dot ru
  2005-08-10 12:12 ` Tobias dot Kranz at bka dot bund dot de
  2005-08-10 12:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-08-10 10:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-08-10 10:07 -------
We need at least preprocessed testcase to reproduce wrong-code bug. And please
try current snapshot of 4.0 branch, there are some bugs fixed:
ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20050804/gcc-4.0-20050804.tar.bz2


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |tree-optimization
           Keywords|                            |wrong-code
      Known to fail|                            |4.0.1
      Known to work|                            |3.4.3
            Summary|GCC produces wrong code     |[4.0 regression] GCC
                   |                            |produces wrong code


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


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

* [Bug tree-optimization/23311] [4.0 regression] GCC produces wrong code
  2005-08-10  9:48 [Bug c/23311] New: GCC produces wrong code Tobias dot Kranz at bka dot bund dot de
  2005-08-10 10:09 ` [Bug tree-optimization/23311] [4.0 regression] " belyshev at depni dot sinp dot msu dot ru
@ 2005-08-10 12:12 ` Tobias dot Kranz at bka dot bund dot de
  2005-08-10 12:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: Tobias dot Kranz at bka dot bund dot de @ 2005-08-10 12:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Tobias dot Kranz at bka dot bund dot de  2005-08-10 12:12 -------
The same with the current snapshot! :-(

(1) Compiling samba with gcc-4.0-20050804 works, but when i run 'smbd --help'
smbd crashes again!
When I compile it with gcc-3.4.3 ist works fine.

(2) I'm sorry but I don't know how to produce a preprocessed testcase out of the
samba sources. But maybe s.o. else -who knows the samba sources well- is able to
produce a testcase out of the samba source. The configure-options I used are
attached.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1


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


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

* [Bug tree-optimization/23311] [4.0 regression] GCC produces wrong code
  2005-08-10  9:48 [Bug c/23311] New: GCC produces wrong code Tobias dot Kranz at bka dot bund dot de
  2005-08-10 10:09 ` [Bug tree-optimization/23311] [4.0 regression] " belyshev at depni dot sinp dot msu dot ru
  2005-08-10 12:12 ` Tobias dot Kranz at bka dot bund dot de
@ 2005-08-10 12:14 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 12:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-10 12:14 -------
Lets keep this in waiting until there is a testcase.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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


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

* [Bug tree-optimization/23311] [4.0 regression] GCC produces wrong code
       [not found] <bug-23311-9342@http.gcc.gnu.org/bugzilla/>
@ 2005-11-11 18:22 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-11 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-11 18:22 -------
No feedback in 3 months.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2005-11-11 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10  9:48 [Bug c/23311] New: GCC produces wrong code Tobias dot Kranz at bka dot bund dot de
2005-08-10 10:09 ` [Bug tree-optimization/23311] [4.0 regression] " belyshev at depni dot sinp dot msu dot ru
2005-08-10 12:12 ` Tobias dot Kranz at bka dot bund dot de
2005-08-10 12:14 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23311-9342@http.gcc.gnu.org/bugzilla/>
2005-11-11 18:22 ` pinskia 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).