public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
@ 2004-09-06  0:41 njs at codesourcery dot com
  2004-09-06 22:58 ` [Bug c++/17331] " mmitchel at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: njs at codesourcery dot com @ 2004-09-06  0:41 UTC (permalink / raw)
  To: gcc-bugs

To reproduce:
 1) download http://www.oonumerics.org/FTensor/FTensor-1.1pre25.tar.gz
 2) unpack it to FTensor-1.1pre25
 3) cd FTensor-1.1pre25/tests/conformance
 4) make CXX=<path to g++> CXXOPTIMIZE="-O -g -Wl,/usr/lib/pa20_64/unix95.o"
test_all
 5) Run ./test_all; it should print out a number of lines beginning "PASS:" and
then exit with an illegal instruction error.

The error goes away when compiling with -O2 rather than -O.

reghunt narrowed down the responsible check-in to be between 2004-08-25 17:13
UTC and 2004-08-25 17:24 UTC; the only change in this period appears to be 

 2004-08-25  Roger Sayle  <roger@eyesopen.com>
        PR middle-end/16693
        PR tree-optimization/16372
        * decl.c (finish_enum): Make the precision of the enumerated type
        the same width as the underlying integer type.

-- 
           Summary: "Illegal instruction" error in FTensor when compiled
                    with G++ 3.4.2 prerelease 2 (20040902)
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: njs at codesourcery dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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


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

* [Bug c++/17331] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
@ 2004-09-06 22:58 ` mmitchel at gcc dot gnu dot org
  2004-09-07  8:46 ` [Bug target/17331] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-09-06 22:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-09-06 22:58 -------
After much investigation at CodeSourcery, we're not sure what to make of this
PR.   The HP linker generates a stub that loads an address from the PLTGOT; that
address is bogus.  It is bogus at program start-up, so it does not look like
we're writing to the PLTGOT accidentally. It's possible that this is an HP
linker bug, or some kind of PLTGOT overflow.

Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zack at codesourcery dot com
   Target Milestone|---                         |3.4.3


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
  2004-09-06 22:58 ` [Bug c++/17331] " mmitchel at gcc dot gnu dot org
@ 2004-09-07  8:46 ` pinskia at gcc dot gnu dot org
  2004-09-13 20:51 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-07  8:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
          Component|c++                         |target
            Summary|"Illegal instruction" error |[3.4 Regression] "Illegal
                   |in FTensor when compiled    |instruction" error in
                   |with G++ 3.4.2 prerelease 2 |FTensor when compiled with
                   |(20040902)                  |G++ 3.4.2 prerelease 2
                   |                            |(20040902)


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
  2004-09-06 22:58 ` [Bug c++/17331] " mmitchel at gcc dot gnu dot org
  2004-09-07  8:46 ` [Bug target/17331] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-13 20:51 ` mmitchel at gcc dot gnu dot org
  2004-09-13 20:52 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-09-13 20:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-09-13 20:51 -------
Zack tracked this down to a problem in the HP linker and reported it to HP.  I'm
therefore marking this PR as suspended until we here back from HP.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-13 20:51:49
               date|                            |


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
                   ` (2 preceding siblings ...)
  2004-09-13 20:51 ` mmitchel at gcc dot gnu dot org
@ 2004-09-13 20:52 ` mmitchel at gcc dot gnu dot org
  2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-09-13 20:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
                   ` (3 preceding siblings ...)
  2004-09-13 20:52 ` mmitchel at gcc dot gnu dot org
@ 2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
  2004-12-07  0:30 ` pinskia at gcc dot gnu dot org
  2005-09-01 16:53 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01  0:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-01 00:46 -------
Postponed until GCC 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.3                       |3.4.4


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
                   ` (4 preceding siblings ...)
  2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
@ 2004-12-07  0:30 ` pinskia at gcc dot gnu dot org
  2005-09-01 16:53 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07  0:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
           Priority|P2                          |P3
   Target Milestone|3.4.4                       |---


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
  2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
                   ` (5 preceding siblings ...)
  2004-12-07  0:30 ` pinskia at gcc dot gnu dot org
@ 2005-09-01 16:53 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp dot com @ 2005-09-01 16:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sje at cup dot hp dot com  2005-09-01 16:53 -------
I have been unable to reproduce this bug here at HP using a number of different
GCC versions and HP linker/OS versions.

Nathanial, can you still reproduce the bug at CodeSourcery?  If so can you do a
'what /usr/ccs/lbin/ld64' so I can see what ld you are using.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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


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

* [Bug target/17331] [3.4 Regression] "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)
       [not found] <bug-17331-9258@http.gcc.gnu.org/bugzilla/>
@ 2006-03-06  2:19 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-06  2:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-06 02:19 -------
Since this was not a bug in GCC and  Steve could not reproduce this, closing as
works for me.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2006-03-06  2:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-06  0:41 [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) njs at codesourcery dot com
2004-09-06 22:58 ` [Bug c++/17331] " mmitchel at gcc dot gnu dot org
2004-09-07  8:46 ` [Bug target/17331] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-09-13 20:51 ` mmitchel at gcc dot gnu dot org
2004-09-13 20:52 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
2004-12-07  0:30 ` pinskia at gcc dot gnu dot org
2005-09-01 16:53 ` sje at cup dot hp dot com
     [not found] <bug-17331-9258@http.gcc.gnu.org/bugzilla/>
2006-03-06  2:19 ` 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).