public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
@ 2004-07-07 22:28 ebotcazou at gcc dot gnu dot org
  2004-07-07 22:36 ` [Bug target/16416] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-07 22:28 UTC (permalink / raw)
  To: gcc-bugs

On the 3.3 branch:

[eric@localhost obj.sparc]$ gcc/xgcc -Bgcc -S -### t.c -m64
Reading specs from gcc/specs
Configured with: ../configure --host=i586-redhat-linux-gnu
--target=sparc-sun-solaris2.8 --prefix=/usr/local
--enable-checking=misc,tree,rtlflag --enable-languages=c,c++
Thread model: posix
gcc version 3.3.5 20040703 (prerelease)
 "gcc/cc1" "-quiet" "-iprefix"
"/home/eric/cvs/gcc-3_3-branch/obj.sparc/gcc/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.5/"
"-isystem" "gcc/include" "-D__GNUC__=3" "-D__GNUC_MINOR__=3"
"-D__GNUC_PATCHLEVEL__=5" "-Dsparc" "-D__sparc__" "-D__sparc" "-D__arch64__"
"-Acpu=sparc64" "-Amachine=sparcv9" "-D__sparcv9" "t.c" "-mptr64" "-mstack-bias"
"-mno-v8plus" "-mcpu=v9" "-quiet" "-dumpbase" "t.c" "-m64" "-auxbase" "t" "-o" "t.s"


On the 3.4 branch and up:

[eric@localhost obj.sparc]$ gcc/xgcc -Bgcc -S -### t.c -m64
Reading specs from gcc/specs
Configured with: ../configure --host=i586-redhat-linux-gnu
--target=sparc-sun-solaris2.8 --prefix=/usr/local
--enable-checking=misc,tree,rtlflag --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2 20040706 (prerelease)
 "gcc/cc1" "-quiet" "-iprefix"
"/home/eric/cvs/gcc-3_4-branch/obj.sparc/gcc/../lib/gcc/sparc-sun-solaris2.8/3.4.2/"
"-isystem" "gcc/include" "-D__arch64__" "-D__sparcv9" "t.c" "-mptr64"
"-mstack-bias" "-mno-v8plus" "-quiet" "-dumpbase" "t.c" "-m64" "-mcpu=v7"
"-auxbase" "t" "-o" "t.s"

which I find stupid.

This comes from the --with-cpu mechanism at configure time, which defaults to v7
on sparc-*-*, so the driver behaves as if -mcpu=v7 were passed.

-- 
           Summary: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.[789]
  GCC host triplet: sparc-sun-solaris2.[789]
GCC target triplet: sparc-sun-solaris2.[789]


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
@ 2004-07-07 22:36 ` pinskia at gcc dot gnu dot org
  2004-07-07 22:42 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-07 22:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.2


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
  2004-07-07 22:36 ` [Bug target/16416] " pinskia at gcc dot gnu dot org
@ 2004-07-07 22:42 ` ebotcazou at gcc dot gnu dot org
  2004-07-09  8:31 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-07 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-07 22:42 -------
Investigating.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-07 22:42:22
               date|                            |


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
  2004-07-07 22:36 ` [Bug target/16416] " pinskia at gcc dot gnu dot org
  2004-07-07 22:42 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-09  8:31 ` cvs-commit at gcc dot gnu dot org
  2004-07-09  8:33 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-09  8:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-09 08:31 -------
Subject: Bug 16416

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-07-09 08:31:34

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2-bi.h 

Log message:
	PR target/16416
	* config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): New macro.
	Override default settings to account for -m32 and -m64.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4409&r2=2.4410
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-bi.h.diff?cvsroot=gcc&r1=1.17&r2=1.18



-- 


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-09  8:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-09  8:33 ` cvs-commit at gcc dot gnu dot org
  2004-07-09  8:35 ` ebotcazou at gcc dot gnu dot org
  2004-07-10 20:31 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-09  8:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-09 08:33 -------
Subject: Bug 16416

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	ebotcazou@gcc.gnu.org	2004-07-09 08:33:01

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2-bi.h 

Log message:
	PR target/16416
	* config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): New macro.
	Override default settings to account for -m32 and -m64.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.543&r2=2.2326.2.544
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-bi.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.14.4.2&r2=1.14.4.3



-- 


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-09  8:33 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-09  8:35 ` ebotcazou at gcc dot gnu dot org
  2004-07-10 20:31 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-09  8:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-09 08:35 -------
See http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00897.html

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


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


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

* [Bug target/16416] [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore
  2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-09  8:35 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-10 20:31 ` ebotcazou at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-10 20:31 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 16416 depends on bug 16109, which changed state.

Bug 16109 Summary: error: architecture mismatch on "fzero".
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16109

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

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


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

end of thread, other threads:[~2004-07-10 20:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07 22:28 [Bug target/16416] New: [3.4/3.5 regression] -m64 doesn't imply -mcpu=v9 anymore ebotcazou at gcc dot gnu dot org
2004-07-07 22:36 ` [Bug target/16416] " pinskia at gcc dot gnu dot org
2004-07-07 22:42 ` ebotcazou at gcc dot gnu dot org
2004-07-09  8:31 ` cvs-commit at gcc dot gnu dot org
2004-07-09  8:33 ` cvs-commit at gcc dot gnu dot org
2004-07-09  8:35 ` ebotcazou at gcc dot gnu dot org
2004-07-10 20:31 ` 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).