public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
@ 2010-11-07 20:05 danglin at gcc dot gnu.org
  2011-06-20 18:57 ` [Bug ada/46350] " danglin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-11-07 20:05 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: s-taprop.adb:891:40: warning: redundant conversion,
                    expression is of type "Interrupt_ID"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa1.1-hp-hpux10.20
            Target: hppa1.1-hp-hpux10.20
             Build: hppa1.1-hp-hpux10.20


/xxx/gnu/gcc/objdir/./gcc/xgcc -B/xxx/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/lib/ -isystem
/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/include -isystem
/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/sys-include    -c -g -O2   -W -Wall
-gnatpg   s-taprop.adb -o s-taprop.o
s-taprop.adb:891:40: warning: redundant conversion, expression is of type
"Interrupt_ID"
make[5]: *** [s-taprop.o] Error 1
make[5]: Leaving directory `/xxx/gnu/gcc/objdir/gcc/ada/rts'
make[4]: *** [gnatlib] Error 2
make[4]: Leaving directory `/xxx/gnu/gcc/objdir/gcc/ada'
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory `/xxx/gnu/gcc/objdir/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory `/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/xxx/gnu/gcc/objdir'


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
@ 2011-06-20 18:57 ` danglin at gcc dot gnu.org
  2011-06-21 10:41 ` ebotcazou at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-06-20 18:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-06-20 18:57:16 UTC ---
Still present in 4.6.1:

/xxx/gnu/gcc/objdir/./gcc/xgcc -B/xxx/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/lib/ -isystem
/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/include -isystem
/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/sys-include    -c -g -O2   -W -Wall
-gnatpg   s-taprop.adb -o s-taprop.o
s-taprop.adb:891:40: warning: redundant conversion, expression is of type
"Interrupt_ID"
make[5]: *** [s-taprop.o] Error 1

507 (hiauly1)dave> ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa1.1-hp-hpux10.20
Configured with: ../gcc/configure --with-gnu-as --with-as=/usr/local/bin/as
--enable-shared --prefix=/opt/gnu/gcc/gcc-4.6 --with-gmp=/opt/gnu/gcc/gmp
--enable-debug=no --disable-nls
--enable-languages=c,c++,objc,fortran,ada,obj-c++
Thread model: single
gcc version 4.6.1 20110619 (prerelease) [gcc-4_6-branch revision 175188] (GCC)


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
  2011-06-20 18:57 ` [Bug ada/46350] " danglin at gcc dot gnu.org
@ 2011-06-21 10:41 ` ebotcazou at gcc dot gnu.org
  2011-06-21 13:38 ` dave at hiauly1 dot hia.nrc.ca
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-21 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-21 10:40:41 UTC ---
Try to remove the cast to System.Interrupt_Management.Interrupt_ID in the call.


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
  2011-06-20 18:57 ` [Bug ada/46350] " danglin at gcc dot gnu.org
  2011-06-21 10:41 ` ebotcazou at gcc dot gnu.org
@ 2011-06-21 13:38 ` dave at hiauly1 dot hia.nrc.ca
  2011-07-14  8:44 ` ebotcazou at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2011-06-21 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from dave at hiauly1 dot hia.nrc.ca 2011-06-21 13:38:12 UTC ---
> Try to remove the cast to System.Interrupt_Management.Interrupt_ID in the call.

It fixes the compile error.  Testing in progress...

Dave


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-06-21 13:38 ` dave at hiauly1 dot hia.nrc.ca
@ 2011-07-14  8:44 ` ebotcazou at gcc dot gnu.org
  2011-07-14 11:58 ` dave.anglin at bell dot net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-14  8:44 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.07.14 08:44:07
   Target Milestone|---                         |4.6.2
     Ever Confirmed|0                           |1

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-14 08:44:07 UTC ---
Can you submit the patch if it works?


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-07-14  8:44 ` ebotcazou at gcc dot gnu.org
@ 2011-07-14 11:58 ` dave.anglin at bell dot net
  2011-07-14 23:23 ` danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave.anglin at bell dot net @ 2011-07-14 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from dave.anglin at bell dot net 2011-07-14 11:57:34 UTC ---
On 14-Jul-11, at 4:44 AM, ebotcazou at gcc dot gnu.org wrote:

> Can you submit the patch if it works?


It works.  I will install later today after work if someone doesn't  
install it first.

Dave
--
John David Anglin    dave.anglin@bell.net


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-07-14 11:58 ` dave.anglin at bell dot net
@ 2011-07-14 23:23 ` danglin at gcc dot gnu.org
  2011-07-15  2:35 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-14 23:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-14 23:22:20 UTC ---
Author: danglin
Date: Thu Jul 14 23:22:17 2011
New Revision: 176296

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176296
Log:
    PR ada/46350
    * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/s-taprop-hpux-dce.adb


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-07-14 23:23 ` danglin at gcc dot gnu.org
@ 2011-07-15  2:35 ` danglin at gcc dot gnu.org
  2011-07-15  2:37 ` danglin at gcc dot gnu.org
  2011-07-15  2:40 ` danglin at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-15  2:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-15 02:35:08 UTC ---
Author: danglin
Date: Fri Jul 15 02:35:05 2011
New Revision: 176303

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176303
Log:
    PR ada/46350
    * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.


Modified:
    branches/gcc-4_6-branch/gcc/ada/ChangeLog
    branches/gcc-4_6-branch/gcc/ada/s-taprop-hpux-dce.adb


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-07-15  2:35 ` danglin at gcc dot gnu.org
@ 2011-07-15  2:37 ` danglin at gcc dot gnu.org
  2011-07-15  2:40 ` danglin at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-15  2:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-15 02:37:27 UTC ---
Author: danglin
Date: Fri Jul 15 02:37:23 2011
New Revision: 176304

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176304
Log:
    PR ada/46350
    * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.


Modified:
    branches/gcc-4_5-branch/gcc/ada/ChangeLog
    branches/gcc-4_5-branch/gcc/ada/s-taprop-hpux-dce.adb


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

* [Bug ada/46350] s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID"
  2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-07-15  2:37 ` danglin at gcc dot gnu.org
@ 2011-07-15  2:40 ` danglin at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-15  2:40 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-15 02:39:40 UTC ---
Fixed on 4.5, 4.6 and trunk.


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

end of thread, other threads:[~2011-07-15  2:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 20:05 [Bug ada/46350] New: s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID" danglin at gcc dot gnu.org
2011-06-20 18:57 ` [Bug ada/46350] " danglin at gcc dot gnu.org
2011-06-21 10:41 ` ebotcazou at gcc dot gnu.org
2011-06-21 13:38 ` dave at hiauly1 dot hia.nrc.ca
2011-07-14  8:44 ` ebotcazou at gcc dot gnu.org
2011-07-14 11:58 ` dave.anglin at bell dot net
2011-07-14 23:23 ` danglin at gcc dot gnu.org
2011-07-15  2:35 ` danglin at gcc dot gnu.org
2011-07-15  2:37 ` danglin at gcc dot gnu.org
2011-07-15  2:40 ` danglin at gcc dot gnu.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).