Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mitake/tinycc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: mob
Choose a base ref
...
head repository: mitake/tinycc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix-struct-cmp
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 5 files changed
  • 4 contributors

Commits on Nov 5, 2012

  1. Forbid VLA as static variables

    Currently, VLA are not forbidden for static variable. This leads to
    problems even if for fixed-size array when the size expression uses the
    ternary operator (cond ? then-value : else-value) because it is parsed
    as a general expression which leads to code generated in this case.
    
    This commit solve the problem by forbidding VLA for static variables.
    Although not required for the fix, avoiding code generation when the
    expression is constant would be a nice addition though.
    Thomas Preud'homme authored and mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    c2e8b46 View commit details
    Browse the repository at this point in the history
  2. Error out in case of variable name clash

    Error out when two local variable with same name are defined in the same
    scope. This fixes bug #15597 in savannah's BTS.
    Thomas Preud'homme authored and mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    6d1e5ff View commit details
    Browse the repository at this point in the history
  3. Fix commit 85f6fad

    Don't reset nocode_wanted with saved_nocode_wanted if it hasn't been
    modified (and hence saved_nocode_wanted is uninitialized).
    Thomas Preud'homme authored and mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    97b1037 View commit details
    Browse the repository at this point in the history
  4. Add support for R_ARM_THM_{JUMP24,CALL} relocs

    Add support for relocations R_ARM_THM_JUMP24 and R_ARM_THM_CALL. These
    are encountered with gcc when compiling for armv6 or greater with
    -mthumb flag and a call (conditional or not) is done.
    Thomas Preud'homme authored and mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    d1d1255 View commit details
    Browse the repository at this point in the history
  5. Enable arm hardfloat calling convention

    Use arm hardfloat calling convention when the system is using it
    (detected by searching for hardfloat multiarch directory).
    Thomas Preud'homme authored and mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    83e805f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e7e3ff4 View commit details
    Browse the repository at this point in the history
  7. forbid invalid comparison of struct

    Current tcc permits comparison of structs and comparison between
    struct and other typed values.
    mitake committed Nov 5, 2012
    Configuration menu
    Copy the full SHA
    8bda94d View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2012

  1. struct comparison, tmp

    mitake committed Nov 20, 2012
    Configuration menu
    Copy the full SHA
    2584959 View commit details
    Browse the repository at this point in the history
Loading