public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12070] New: ICE converting between double and long double with -msoft-float
@ 2003-08-26 16:41 taylor at candd dot org
  2003-08-26 17:34 ` [Bug c/12070] " bangerth at dealii dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: taylor at candd dot org @ 2003-08-26 16: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=12070

           Summary: ICE converting between double and long double with -
                    msoft-float
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: taylor at candd dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu

The following simple function (extracted from libstdc++-v3/libmath/stubs.c)
will get an internal compiler error.

extern double atan2(double, double);

long double
atan2l(long double x, long double y)
{
  return atan2((double) x, (double) y);
}

The ICE occurs with x86 native on GNU/Linux with GCC 3.3.1 when invoked with
-msoft-float.  It does not ICE with GCC 2.95.3.  I haven't yet tried the HEAD
of the CVS trunk.


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

* [Bug c/12070] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
@ 2003-08-26 17:34 ` bangerth at dealii dot org
  2003-08-26 17:46 ` [Bug target/12070] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2003-08-26 17:34 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=12070


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-26 17:34:14
               date|                            |
   Target Milestone|---                         |3.3.2


------- Additional Comments From bangerth at dealii dot org  2003-08-26 17:34 -------
Confirmed. A regression on the 3.3 branch and mainline. 
 
W.


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
  2003-08-26 17:34 ` [Bug c/12070] " bangerth at dealii dot org
@ 2003-08-26 17:46 ` pinskia at gcc dot gnu dot org
  2003-08-28 23:24 ` janis187 at us dot ibm dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-26 17:46 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=12070


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
           Keywords|                            |ice-on-valid-code
            Summary|ICE converting between      |[3.3/3.4 Regression] ICE
                   |double and long double with |converting between double
                   |-msoft-float                |and long double with -msoft-
                   |                            |float


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-26 17:46 -------
>From Phil's regression hunter: Search converges between 2001-06-10-trunk (#23) and 2001-06-
17-trunk (#24). Note this was hard to use Phil's regression hunter because it does not fail for -
arch=i386.


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
  2003-08-26 17:34 ` [Bug c/12070] " bangerth at dealii dot org
  2003-08-26 17:46 ` [Bug target/12070] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-08-28 23:24 ` janis187 at us dot ibm dot com
  2003-09-05  5:31 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: janis187 at us dot ibm dot com @ 2003-08-28 23:24 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=12070


janis187 at us dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jh at suse dot cz


------- Additional Comments From janis187 at us dot ibm dot com  2003-08-28 23:24 -------
The regression in PR 12070 was introduced or exposed by this patch:

--- gcc/gcc/ChangeLog ---

Thu Jun 14 12:44:15 CEST 2001  Jan Hubicka  <jh@suse.cz>

        * i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move,
        x86_epilogue_using_move): New global variables.
        (override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred.
        (ix86_emit_save_regs_using_mov): New static function.
        (ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred.
        * i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE,
        MASK_MIX_SSE_I387): Renumber.
        (MASK_NO_ACCUMULATE_OUTGOING_ARGS): New.
        (x86_accumulate_outgoing_args, x86_prologue_using_move,
        x86_epilogue_using_move): Declare.
        (TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New.

The regression hunt took place on i686-pc-linux-gnu using the submitter's      
test case compiled with -msoft-float with cc1.


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
                   ` (2 preceding siblings ...)
  2003-08-28 23:24 ` janis187 at us dot ibm dot com
@ 2003-09-05  5:31 ` mmitchel at gcc dot gnu dot org
  2003-09-06 21:26 ` cvs-commit 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 @ 2003-09-05  5: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=12070


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-08-26 17:34:14         |2003-09-05 05:31:16
               date|                            |


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-09-05 05:31 -------
Assigned to Jan because his patch caused the ICE.


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
                   ` (3 preceding siblings ...)
  2003-09-05  5:31 ` mmitchel at gcc dot gnu dot org
@ 2003-09-06 21:26 ` cvs-commit at gcc dot gnu dot org
  2003-09-06 21:50 ` cvs-commit at gcc dot gnu dot org
  2003-09-07  3:21 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-06 21:26 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=12070



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-06 21:26 -------
Subject: Bug 12070

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	hubicka@gcc.gnu.org	2003-09-06 21:26:52

Modified files:
	gcc            : ChangeLog calls.c cfgcleanup.c 

Log message:
	PR target/12070
	* calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
	
	PR opt/12082
	* cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.724&r2=1.16114.2.725
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.244.2.10&r2=1.244.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgcleanup.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.68.2.5&r2=1.68.2.6


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
                   ` (4 preceding siblings ...)
  2003-09-06 21:26 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-06 21:50 ` cvs-commit at gcc dot gnu dot org
  2003-09-07  3:21 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-06 21:50 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=12070



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-06 21:50 -------
Subject: Bug 12070

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hubicka@gcc.gnu.org	2003-09-06 21:50:22

Modified files:
	gcc            : ChangeLog calls.c cfgcleanup.c 

Log message:
	PR target/12070
	* calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
	
	PR opt/12082
	* cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.988&r2=2.989
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gcc&r1=1.297&r2=1.298
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgcleanup.c.diff?cvsroot=gcc&r1=1.91&r2=1.92


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

* [Bug target/12070] [3.3/3.4 Regression] ICE converting between double and long double with -msoft-float
  2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
                   ` (5 preceding siblings ...)
  2003-09-06 21:50 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-07  3:21 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-07  3:21 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=12070


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-07 03:21 -------
Fixed by the patch above for 3.3.2 and 3.4.


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

end of thread, other threads:[~2003-09-07  3:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-26 16:41 [Bug c/12070] New: ICE converting between double and long double with -msoft-float taylor at candd dot org
2003-08-26 17:34 ` [Bug c/12070] " bangerth at dealii dot org
2003-08-26 17:46 ` [Bug target/12070] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2003-08-28 23:24 ` janis187 at us dot ibm dot com
2003-09-05  5:31 ` mmitchel at gcc dot gnu dot org
2003-09-06 21:26 ` cvs-commit at gcc dot gnu dot org
2003-09-06 21:50 ` cvs-commit at gcc dot gnu dot org
2003-09-07  3:21 ` 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).