[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#393275: marked as done (-O2 on Alpha makes code crash)



Your message dated Thu, 23 Aug 2007 17:55:02 -0700
with message-id <20070824005502.GD19652@dario.dodds.net>
and subject line -O2 on Alpha makes code crash
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: g++
Version: 4:4.1.1-11
Severity: normal

Hello,

I'm trying to debug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393194
and I found out that the test suite passes with -O0, -O1 and -O3 but fails
with -O2.  g++ is gcc version 4.1.2 20061007 (prerelease) (Debian 4.1.1-16)

g++-4.0 (gcc version 4.0.4 20060904 (prerelease) (Debian 4.0.3-7))
builds tagcoll fine with -O2.

I'm attaching the minimal test case I've been able to conjure that still
reproduces the bug.  I can't seem to be able to remove further code from
it and have the bug still reproduce.

To reproduce the problm, unpack the tarball then do:

  make CXXFLAGS+=-O2
  make clean
  make CXXFLAGS+=-O0

You can speed up the process by adding "-gstabs+" to CXXFLAGS.


Ciao,

Enrico


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Attachment: tagcoll2-gccbug.tar.gz
Description: Binary data


--- End Message ---
--- Begin Message ---
Test case builds and runs fine for me here on alpha with g++-4.1 4.1.2-14.

I'm not sure what kind of system is supposed to take "several days" to test
this, it built in a minute for me even on my slow alpha.

BTW, the provided Makefile is broken and tries to link a C++ app using $(CC)
instead of $(CXX).

So I have some doubt that I'm making use of the test case correctly, but in
any case I don't see any reason to keep this report open since the bug is
indeed not reproducible with the provided test case.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

--- End Message ---

Reply to: