public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30243]  New: avr-gcc 4.1.1: signbit() causes an internal compiler error
@ 2006-12-18  4:37 dmixm at marine dot febras dot ru
  2007-05-03 16:06 ` [Bug target/30243] " eweddington at cso dot atmel dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dmixm at marine dot febras dot ru @ 2006-12-18  4:37 UTC (permalink / raw)
  To: gcc-bugs

avr-gcc (GCC) 4.1.1
Compilation of next program (-W -Wall -Os -S):

    extern int signbit (double);
    int foo (double x)
    {
        return signbit (x);
    }

causes an compilation abort with message:
    internal compiler error: in gen_lowpart_general, at rtlhooks.c:51

Older versions are work:
        3.3.5, 3.4.4  - call of external signbit() function
        4.0.2            - inline-code


-- 
           Summary: avr-gcc 4.1.1: signbit() causes an internal compiler
                    error
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dmixm at marine dot febras dot ru


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


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

* [Bug target/30243] avr-gcc 4.1.1: signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
@ 2007-05-03 16:06 ` eweddington at cso dot atmel dot com
  2007-05-30 18:09 ` [Bug target/30243] [4.1/4.2/4.3 Regression][avr] " eweddington at cso dot atmel dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-03 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from eweddington at cso dot atmel dot com  2007-05-03 17:06 -------
Confirmed. Also fails for 4.1.2.


-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|4.1.1                       |4.1.1 4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2007-05-03 17:06:24
               date|                            |


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
  2007-05-03 16:06 ` [Bug target/30243] " eweddington at cso dot atmel dot com
@ 2007-05-30 18:09 ` eweddington at cso dot atmel dot com
  2007-07-04  3:04 ` mmitchel at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-30 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from eweddington at cso dot atmel dot com  2007-05-30 18:09 -------
Fails with 4.3-20070525, and with 4.2.0, with same error, but line 54 in
rtlhooks.c.


-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.1 4.1.2                 |4.1.1 4.1.2 4.2.0
            Summary|avr-gcc 4.1.1: signbit()    |[4.1/4.2/4.3
                   |causes an internal compiler |Regression][avr] signbit()
                   |error                       |causes an internal compiler
                   |                            |error
   Target Milestone|---                         |4.2.1


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
  2007-05-03 16:06 ` [Bug target/30243] " eweddington at cso dot atmel dot com
  2007-05-30 18:09 ` [Bug target/30243] [4.1/4.2/4.3 Regression][avr] " eweddington at cso dot atmel dot com
@ 2007-07-04  3:04 ` mmitchel at gcc dot gnu dot org
  2007-10-07 19:47 ` eweddington at cso dot atmel dot com
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-04  3:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (2 preceding siblings ...)
  2007-07-04  3:04 ` mmitchel at gcc dot gnu dot org
@ 2007-10-07 19:47 ` eweddington at cso dot atmel dot com
  2007-10-07 19:48 ` eweddington at cso dot atmel dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-10-07 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from eweddington at cso dot atmel dot com  2007-10-07 19:46 -------
Created an attachment (id=14316)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14316&action=view)
Patch by Anatoly Sokolov

Proposed patch by Anatoly Sokolov.


-- 


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (3 preceding siblings ...)
  2007-10-07 19:47 ` eweddington at cso dot atmel dot com
@ 2007-10-07 19:48 ` eweddington at cso dot atmel dot com
  2007-10-07 19:51 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-10-07 19:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from eweddington at cso dot atmel dot com  2007-10-07 19:48 -------
Changing target milestone to 4.2.3. Hopefully the attached patch will be
committed by then.


-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aesok at gcc dot gnu dot org
   Target Milestone|4.2.1                       |4.2.3


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (4 preceding siblings ...)
  2007-10-07 19:48 ` eweddington at cso dot atmel dot com
@ 2007-10-07 19:51 ` pinskia at gcc dot gnu dot org
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-07 19:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-10-07 19:51 -------
I think this patch is incorrect (there is no specific ordering of modes as far
as I know.  I think it should be using GET_MODE_SIZE instead.


-- 


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


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

* [Bug target/30243] [4.1/4.2/4.3 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (5 preceding siblings ...)
  2007-10-07 19:51 ` pinskia at gcc dot gnu dot org
@ 2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
  2008-02-20 20:34 ` [Bug target/30243] [4.1/4.2/4.3/4.4 " eric dot weddington at atmel dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jsm28 at gcc dot gnu dot org  2008-02-01 16:53 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (6 preceding siblings ...)
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
@ 2008-02-20 20:34 ` eric dot weddington at atmel dot com
  2008-03-17 23:11 ` hutchinsonandy at aim dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-02-20 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from eric dot weddington at atmel dot com  2008-02-20 20:34 -------
Created an attachment (id=15187)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15187&action=view)
New patch

New patch using GET_MODE_SIZE as recommended.


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14316|0                           |1
        is obsolete|                            |


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (7 preceding siblings ...)
  2008-02-20 20:34 ` [Bug target/30243] [4.1/4.2/4.3/4.4 " eric dot weddington at atmel dot com
@ 2008-03-17 23:11 ` hutchinsonandy at aim dot com
  2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hutchinsonandy at aim dot com @ 2008-03-17 23:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hutchinsonandy at aim dot com  2008-03-17 23:10 -------
Fails 4.3 on recently added testcase for same bug.

/cygdrive/e/gcc/gcc/testsuite/gcc.c-torture/execute/pr35456.c:17: internal
compiler error: in gen_lowpart_general, at rtlhooks.c:53
Please submit a full bug report


-- 

hutchinsonandy at aim dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hutchinsonandy at aim dot
                   |                            |com


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (8 preceding siblings ...)
  2008-03-17 23:11 ` hutchinsonandy at aim dot com
@ 2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
  2008-06-04 22:01 ` hutchinsonandy at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (9 preceding siblings ...)
  2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
@ 2008-06-04 22:01 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-04 22:06 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-07 15:49 ` hutchinsonandy at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-04 22:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from hutchinsonandy at gcc dot gnu dot org  2008-06-04 22:00 -------
Subject: Bug 30243

Author: hutchinsonandy
Date: Wed Jun  4 21:59:54 2008
New Revision: 136376

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136376
Log:
PR target/30243
* builtins.c (expand_builtin_signbit): Don't take lowpart when register is
already smaller or equal to required mode. 

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c


-- 


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (10 preceding siblings ...)
  2008-06-04 22:01 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-06-04 22:06 ` hutchinsonandy at gcc dot gnu dot org
  2008-06-07 15:49 ` hutchinsonandy at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-04 22:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from hutchinsonandy at gcc dot gnu dot org  2008-06-04 22:05 -------
Fixed 4.4
Back port to 4.3.2 when its open.


-- 

hutchinsonandy at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.2


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


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

* [Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error
  2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
                   ` (11 preceding siblings ...)
  2008-06-04 22:06 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-06-07 15:49 ` hutchinsonandy at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-06-07 15:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from hutchinsonandy at gcc dot gnu dot org  2008-06-07 15:49 -------
Subject: Bug 30243

Author: hutchinsonandy
Date: Sat Jun  7 15:48:25 2008
New Revision: 136531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136531
Log:
Backports from 4.4
PR target/27386
* config/avr/avr.h: (PUSH_ROUNDING): Remove.

PR target/30243
* builtins.c (expand_builtin_signbit): Don't take lowpart when
register is already smaller or equal to required mode.  

PR target/34932
* config/avr/avr.md (*addhi3_zero_extend2): Remove.

* config/avr/avr.h (MAX_OFILE_ALIGNMENT): Define.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/builtins.c
    branches/gcc-4_3-branch/gcc/config/avr/avr.h
    branches/gcc-4_3-branch/gcc/config/avr/avr.md


-- 


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


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

end of thread, other threads:[~2008-06-07 15:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18  4:37 [Bug target/30243] New: avr-gcc 4.1.1: signbit() causes an internal compiler error dmixm at marine dot febras dot ru
2007-05-03 16:06 ` [Bug target/30243] " eweddington at cso dot atmel dot com
2007-05-30 18:09 ` [Bug target/30243] [4.1/4.2/4.3 Regression][avr] " eweddington at cso dot atmel dot com
2007-07-04  3:04 ` mmitchel at gcc dot gnu dot org
2007-10-07 19:47 ` eweddington at cso dot atmel dot com
2007-10-07 19:48 ` eweddington at cso dot atmel dot com
2007-10-07 19:51 ` pinskia at gcc dot gnu dot org
2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
2008-02-20 20:34 ` [Bug target/30243] [4.1/4.2/4.3/4.4 " eric dot weddington at atmel dot com
2008-03-17 23:11 ` hutchinsonandy at aim dot com
2008-05-19 20:27 ` jsm28 at gcc dot gnu dot org
2008-06-04 22:01 ` hutchinsonandy at gcc dot gnu dot org
2008-06-04 22:06 ` hutchinsonandy at gcc dot gnu dot org
2008-06-07 15:49 ` hutchinsonandy 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).