public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24826]  New: Incorrect default options
@ 2005-11-12 22:10 mlist at ml-solutions dot co dot uk
  2005-11-12 22:12 ` [Bug target/24826] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mlist at ml-solutions dot co dot uk @ 2005-11-12 22:10 UTC (permalink / raw)
  To: gcc-bugs

At some point between 4.0 and 4.1 the mechanism for option handling was
changed over to the new style using the .opt file but the default setting of
quickcall seems to have been lost in the process.

adding the following 2 lines into h8300.c

        #undef TARGET_DEFAULT_TARGET_FLAGS
        #define TARGET_DEFAULT_TARGET_FLAGS (MASK_QUICKCALL)

immediately before the line

        struct gcc_target targetm = TARGET_INITIALIZER;

appears to fix the problem allthough I am not sure that this is completely
the correct way to do this.


-- 
           Summary: Incorrect default options
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mlist at ml-solutions dot co dot uk
  GCC host triplet: i686-pc-cygwin
GCC target triplet: h8300-hitachi-elf


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


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

* [Bug target/24826] [4.1 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
@ 2005-11-12 22:12 ` pinskia at gcc dot gnu dot org
  2006-02-13  3:43 ` [Bug target/24826] [4.1/4.2 " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-12 22:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at gcc dot gnu dot org
           Priority|P3                          |P5
            Summary|Incorrect default options   |[4.1 Regression] Incorrect
                   |                            |default options
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24826] [4.1/4.2 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
  2005-11-12 22:12 ` [Bug target/24826] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-13  3:43 ` pinskia at gcc dot gnu dot org
  2006-02-28 20:41 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-13  3:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-13 03:43 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-13 03:43:36
               date|                            |


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


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

* [Bug target/24826] [4.1/4.2 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
  2005-11-12 22:12 ` [Bug target/24826] [4.1 Regression] " pinskia at gcc dot gnu dot org
  2006-02-13  3:43 ` [Bug target/24826] [4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-02-28 20:41 ` mmitchel at gcc dot gnu dot org
  2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 20:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.1.1


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


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

* [Bug target/24826] [4.1/4.2 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
                   ` (2 preceding siblings ...)
  2006-02-28 20:41 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:36 ` [Bug target/24826] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-05-25 02:36 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug target/24826] [4.1/4.2/4.3 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
                   ` (3 preceding siblings ...)
  2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:36 ` mmitchel at gcc dot gnu dot org
  2007-07-17 11:50 ` saurabh dot verma at codito dot com
  2008-07-04 20:14 ` [Bug target/24826] [4.1/4.2 " jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug target/24826] [4.1/4.2/4.3 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
                   ` (4 preceding siblings ...)
  2007-02-14  9:36 ` [Bug target/24826] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-07-17 11:50 ` saurabh dot verma at codito dot com
  2008-07-04 20:14 ` [Bug target/24826] [4.1/4.2 " jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: saurabh dot verma at codito dot com @ 2007-07-17 11:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from saurabh dot verma at codito dot com  2007-07-17 11:50 -------
This is fixed on mainline with the following patch.

-- trunk/gcc/config/h8300/h8300.c       2005/06/25 01:22:41     101314
+++ trunk/gcc/config/h8300/h8300.c      2006/08/28 13:51:04     116509
@@ -5746,4 +5746,7 @@
 #undef  TARGET_MACHINE_DEPENDENT_REORG
 #define TARGET_MACHINE_DEPENDENT_REORG h8300_reorg

+#undef TARGET_DEFAULT_TARGET_FLAGS
+#define TARGET_DEFAULT_TARGET_FLAGS TARGET_DEFAULT
+
 struct gcc_target targetm = TARGET_INITIALIZER;


Can put this in 4.1 branch also and mark this bug as fixed?


-- 


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


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

* [Bug target/24826] [4.1/4.2 Regression] Incorrect default options
  2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
                   ` (5 preceding siblings ...)
  2007-07-17 11:50 ` saurabh dot verma at codito dot com
@ 2008-07-04 20:14 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-07-04 20:13 -------
This was fixed for 4.2.  Closing the 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.1/4.2 Regression]
                   |Incorrect default options   |Incorrect default options
   Target Milestone|4.1.3                       |4.2.0


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


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

end of thread, other threads:[~2008-07-04 20:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 22:10 [Bug target/24826] New: Incorrect default options mlist at ml-solutions dot co dot uk
2005-11-12 22:12 ` [Bug target/24826] [4.1 Regression] " pinskia at gcc dot gnu dot org
2006-02-13  3:43 ` [Bug target/24826] [4.1/4.2 " pinskia at gcc dot gnu dot org
2006-02-28 20:41 ` mmitchel at gcc dot gnu dot org
2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:36 ` [Bug target/24826] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-07-17 11:50 ` saurabh dot verma at codito dot com
2008-07-04 20:14 ` [Bug target/24826] [4.1/4.2 " jsm28 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).