public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12584] New: gcc fails to compile source file from mythtv
@ 2003-10-12  6:28 eklinger at uci dot edu
  2003-10-12  6:31 ` [Bug c++/12584] " eklinger at uci dot edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: eklinger at uci dot edu @ 2003-10-12  6:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: gcc fails to compile source file from mythtv
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eklinger at uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org

gcc fails to compile source file from mythtv - unknown insn.
Reading specs from
/usr/local/gcc-3.3.1/lib/gcc-lib/x86_64-unknown-linux-gnu/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --prefix=/usr/local/gcc-3.3.1
--enable-threads --disable-nls --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.3.1
 /usr/local/gcc-3.3.1/lib/gcc-lib/x86_64-unknown-linux-gnu/3.3.1/cc1 -E -quiet
-v -I/usr/lib64/qt-3.1/mkspecs/default -I. -I/usr/local/include
-I../../libs/libmythtv -I/usr/lib64/qt-3.1/include -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D_REENTRANT -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX="/usr/local" -DMMX -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN filter_linearblend.c -march=pentiumpro -Wall -W
-Wno-missing-prototypes -fomit-frame-pointer -fPIC -O3 filter_linearblend.i
ignoring nonexistent directory
"/usr/local/gcc-3.3.1/x86_64-unknown-linux-gnu/include"
ignoring duplicate directory "/usr/local/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib64/qt-3.1/mkspecs/default
 .
 ../../libs/libmythtv
 /usr/lib64/qt-3.1/include
 /usr/local/include
 /usr/local/gcc-3.3.1/include
 /usr/local/gcc-3.3.1/lib/gcc-lib/x86_64-unknown-linux-gnu/3.3.1/include
 /usr/include

End of search list.
 /usr/local/gcc-3.3.1/lib/gcc-lib/x86_64-unknown-linux-gnu/3.3.1/cc1
-fpreprocessed filter_linearblend.i -quiet -dumpbase filter_linearblend.c
-march=pentiumpro -auxbase-strip filter_linearblend.o -O3 -Wall -W
-Wno-missing-prototypes -version -fomit-frame-pointer -fPIC -o filter_linearblend.s
GNU C version 3.3.1 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 3.3.1.
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127775
filter_linearblend.c: In function `mm_support':
filter_linearblend.c:148: error: unrecognizable insn:
(insn:HI 327 326 116 14 0x2a959a2660 (set (reg/v:SI 59)
        (plus:SI (mult:SI (reg/v:SI 59)
                (const_int 4 [0x4]))
            (const_int 1 [0x1]))) -1 (insn_list 326 (nil))
    (nil))
filter_linearblend.c:148: internal compiler error: in extract_insn, at recog.c:2175


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

* [Bug c++/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
@ 2003-10-12  6:31 ` eklinger at uci dot edu
  2003-10-12  6:32 ` eklinger at uci dot edu
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: eklinger at uci dot edu @ 2003-10-12  6:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From eklinger at uci dot edu  2003-10-12 06:31 -------
Created an attachment (id=4921)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4921&action=view)
Output from -save-temps


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

* [Bug c++/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
  2003-10-12  6:31 ` [Bug c++/12584] " eklinger at uci dot edu
@ 2003-10-12  6:32 ` eklinger at uci dot edu
  2003-10-12  8:32 ` [Bug target/12584] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: eklinger at uci dot edu @ 2003-10-12  6:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From eklinger at uci dot edu  2003-10-12 06:32 -------
Created an attachment (id=4922)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4922&action=view)
Offending source file


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

* [Bug target/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
  2003-10-12  6:31 ` [Bug c++/12584] " eklinger at uci dot edu
  2003-10-12  6:32 ` eklinger at uci dot edu
@ 2003-10-12  8:32 ` pinskia at gcc dot gnu dot org
  2003-10-12  9:39 ` falk at debian dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-12  8:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target


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

* [Bug target/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
                   ` (2 preceding siblings ...)
  2003-10-12  8:32 ` [Bug target/12584] " pinskia at gcc dot gnu dot org
@ 2003-10-12  9:39 ` falk at debian dot org
  2003-10-12 17:37 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: falk at debian dot org @ 2003-10-12  9:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From falk at debian dot org  2003-10-12 09:38 -------
I can reproduce with with gcc version 3.3.1 20030626 (Debian prerelease), I 
don't have anything newer, so leaving unconfirmed for now.

Test case:

int mm_support(int edx)
{
    int rval = 1;
    if (edx)
        rval |= 4;
    return rval;
}

Options needed: -m64 -march=pentiumpro -O

Probably a bad interaction of -march=pentiumpro with the 64 bit code generation.

bash-2.05b$ gcc -m64 -march=pentiumpro -S tmp.c -O
tmp.c: In function `mm_support':
tmp.c:7: error: unrecognizable insn:
(insn 39 38 23 0 0x401d6040 (set (reg/v:SI 60)
        (plus:SI (mult:SI (reg/v:SI 60)
                (const_int 4 [0x4]))
            (const_int 1 [0x1]))) -1 (insn_list 38 (nil))
    (nil))
tmp.c:7: internal compiler error: in extract_insn, at recog.c:2175


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

* [Bug target/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
                   ` (3 preceding siblings ...)
  2003-10-12  9:39 ` falk at debian dot org
@ 2003-10-12 17:37 ` pinskia at gcc dot gnu dot org
  2003-10-13  5:41 ` pinskia at gcc dot gnu dot org
  2003-11-13 23:09 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-12 17:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-12 17:37 -------
On the mainline, it errors out saying that the option -march=pentiumpro does not support 64bit 
code.


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

* [Bug target/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
                   ` (4 preceding siblings ...)
  2003-10-12 17:37 ` pinskia at gcc dot gnu dot org
@ 2003-10-13  5:41 ` pinskia at gcc dot gnu dot org
  2003-11-13 23:09 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-13  5:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-13 05:41 -------
Since the options are no rejected on the mainline and this is not a regression, closing as 
fixed.


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

* [Bug target/12584] gcc fails to compile source file from mythtv
  2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
                   ` (5 preceding siblings ...)
  2003-10-13  5:41 ` pinskia at gcc dot gnu dot org
@ 2003-11-13 23:09 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 23:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-13 23:09 -------
*** Bug 13043 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nomura at netapp dot com


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


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

end of thread, other threads:[~2003-11-13 23:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-12  6:28 [Bug c++/12584] New: gcc fails to compile source file from mythtv eklinger at uci dot edu
2003-10-12  6:31 ` [Bug c++/12584] " eklinger at uci dot edu
2003-10-12  6:32 ` eklinger at uci dot edu
2003-10-12  8:32 ` [Bug target/12584] " pinskia at gcc dot gnu dot org
2003-10-12  9:39 ` falk at debian dot org
2003-10-12 17:37 ` pinskia at gcc dot gnu dot org
2003-10-13  5:41 ` pinskia at gcc dot gnu dot org
2003-11-13 23:09 ` 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).