public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/62066] New: config/arm/arm.c:25298: possible missing call to va_end ?
@ 2014-08-08 17:03 dcb314 at hotmail dot com
  2015-01-14 17:14 ` [Bug target/62066] " ktkachov at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2014-08-08 17:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62066

            Bug ID: 62066
           Summary: config/arm/arm.c:25298: possible missing call to
                    va_end ?
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

[trunk/gcc/config/arm/arm.c:25298]: (error) va_list 'ap' was opened but not
closed by va_end().

            case NEON_ARG_MEMORY:
          /* Check if expand failed.  */
          if (op[argc] == const0_rtx)
        return 0;

Suggest add missing call to va_end just before return.


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

* [Bug target/62066] config/arm/arm.c:25298: possible missing call to va_end ?
  2014-08-08 17:03 [Bug target/62066] New: config/arm/arm.c:25298: possible missing call to va_end ? dcb314 at hotmail dot com
@ 2015-01-14 17:14 ` ktkachov at gcc dot gnu.org
  2015-01-16 18:15 ` ktkachov at gcc dot gnu.org
  2015-01-16 18:16 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-14 17:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62066

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-01-14
                 CC|                            |ktkachov at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from ktkachov at gcc dot gnu.org ---
I'll fix it up when I get some time.


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

* [Bug target/62066] config/arm/arm.c:25298: possible missing call to va_end ?
  2014-08-08 17:03 [Bug target/62066] New: config/arm/arm.c:25298: possible missing call to va_end ? dcb314 at hotmail dot com
  2015-01-14 17:14 ` [Bug target/62066] " ktkachov at gcc dot gnu.org
@ 2015-01-16 18:15 ` ktkachov at gcc dot gnu.org
  2015-01-16 18:16 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-16 18:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62066

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Jan 16 18:14:37 2015
New Revision: 219763

URL: https://gcc.gnu.org/viewcvs?rev=219763&root=gcc&view=rev
Log:
[ARM] PR 62066: Call va_end on early return from va_list processing function

    PR target/62066
    * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
    early return 0.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-builtins.c


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

* [Bug target/62066] config/arm/arm.c:25298: possible missing call to va_end ?
  2014-08-08 17:03 [Bug target/62066] New: config/arm/arm.c:25298: possible missing call to va_end ? dcb314 at hotmail dot com
  2015-01-14 17:14 ` [Bug target/62066] " ktkachov at gcc dot gnu.org
  2015-01-16 18:15 ` ktkachov at gcc dot gnu.org
@ 2015-01-16 18:16 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-01-16 18:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62066

ktkachov at gcc dot gnu.org changed:

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

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Fixed on trunk with r219763.


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

end of thread, other threads:[~2015-01-16 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08 17:03 [Bug target/62066] New: config/arm/arm.c:25298: possible missing call to va_end ? dcb314 at hotmail dot com
2015-01-14 17:14 ` [Bug target/62066] " ktkachov at gcc dot gnu.org
2015-01-16 18:15 ` ktkachov at gcc dot gnu.org
2015-01-16 18:16 ` ktkachov 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).